Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: audit

on:
push:
branches: [main]
paths:
- "**/Cargo.toml"
- "Cargo.lock"
- ".github/workflows/audit.yml"
pull_request:
paths:
- "**/Cargo.toml"
- "Cargo.lock"
- ".github/workflows/audit.yml"
schedule:
# Daily: the advisory database is deliberately fetched live each run, so
# newly published RustSec advisories flag here without any code change.
- cron: "23 6 * * *"
workflow_dispatch:

permissions:
contents: read
checks: write

jobs:
audit:
name: cargo audit (RustSec advisories)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: rustsec/audit-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
Loading