.github/workflows/audit.yml
raw| 1 | name: Security audit |
| 2 | |
| 3 | # spell-checker:ignore (misc) rustsec |
| 4 | |
| 5 | on: |
| 6 | schedule: |
| 7 | - cron: "0 0 * * *" |
| 8 | |
| 9 | permissions: |
| 10 | contents: read |
| 11 | |
| 12 | jobs: |
| 13 | audit: |
| 14 | runs-on: ubuntu-latest |
| 15 | steps: |
| 16 | - uses: actions/[email protected] |
| 17 | with: |
| 18 | persist-credentials: false |
| 19 | - uses: rustsec/audit-check@v2 |
| 20 | with: |
| 21 | token: ${{ secrets.GITHUB_TOKEN }} |