Skip to content

Commit

Permalink
Create md.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub-Vacek authored Sep 30, 2020
1 parent 61e0e9c commit 8ad918a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions md.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
**Basic example**: run DX Scanner on each push to the repo

Create `.github/workflows/main.yml`.

```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](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 comments on commit 8ad918a

Please sign in to comment.