--- name: Audit Rust dependencies on: pull_request: paths: - .github/workflows/audit.yml - '**/Cargo.toml' - '**/Cargo.lock' schedule: - cron: '0 0 * * *' workflow_dispatch: jobs: security_audit: runs-on: ubuntu-latest permissions: issues: write checks: write steps: - uses: actions/checkout@v4 - uses: rustsec/audit-check@v1.4.1 with: token: ${{ secrets.GITHUB_TOKEN }}