Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 640 Bytes

md.md

File metadata and controls

19 lines (16 loc) · 640 Bytes

Basic example: run DX Scanner on each push to the repo

Create .github/workflows/main.yml.

name: DX Scanner
on: push
jobs:
  dx-scanner:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Runs DX Scanner on the code
        uses: docker://dxheroes/dx-scanner:latest
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}

Generate your Github personal token and set it as an encrypted secret named GITHUB_TOKEN.