audit.yml 625 B

12345678910111213141516171819202122232425262728293031323334
  1. {{{{raw}}}}
  2. name: Audit
  3. on:
  4. schedule:
  5. - cron: '0 0 * * *'
  6. push:
  7. branches:
  8. - main
  9. paths:
  10. - ".github/workflows/audit.yml"
  11. - "**/Cargo.lock"
  12. - "**/Cargo.toml"
  13. pull_request:
  14. branches:
  15. - main
  16. paths:
  17. - ".github/workflows/audit.yml"
  18. - "**/Cargo.lock"
  19. - "**/Cargo.toml"
  20. concurrency:
  21. group: ${{ github.workflow }}-${{ github.ref }}
  22. cancel-in-progress: true
  23. jobs:
  24. audit:
  25. runs-on: ubuntu-latest
  26. steps:
  27. - uses: actions/checkout@v4
  28. - uses: rustsec/audit-check@v1
  29. with:
  30. token: ${{ secrets.GITHUB_TOKEN }}
  31. {{{{/raw}}}}