You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Basic example**: run DX Scanner on each push to the repo
2
+
3
+
Create `.github/workflows/main.yml`.
4
+
5
+
```yml
6
+
name: DX Scanner
7
+
on: push
8
+
jobs:
9
+
dx-scanner:
10
+
runs-on: ubuntu-latest
11
+
steps:
12
+
- uses: actions/checkout@v1
13
+
- name: Runs DX Scanner on the code
14
+
uses: docker://dxheroes/dx-scanner:latest
15
+
with:
16
+
github_token: ${{ secrets.GITHUB_TOKEN }}
17
+
```
18
+
19
+
[Generate your Github personal token](https://github.com/settings/tokens/new) and [set it as an encrypted secret](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) named `GITHUB_TOKEN`.
0 commit comments