cargo-audit.yml (587B)
1 name: Cargo Audit Scanning 2 on: 3 push: 4 paths: 5 - "**/Cargo.toml" 6 - "**/Cargo.lock" 7 schedule: 8 - cron: "0 14 * * *" # 14:00 UTC 9 jobs: 10 cargo-audit: 11 runs-on: ubuntu-latest 12 steps: 13 - uses: actions/checkout@v4 14 - uses: actions-rs/audit-check@v1 15 # Don't run on dependabot PRs or forks 16 # https://github.com/actions-rs/clippy-check/issues/2#issuecomment-807852653 17 if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' 18 with: 19 token: ${{ secrets.GITHUB_TOKEN }}