File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,26 @@ name: Audit
33on :
44 push :
55 paths :
6+ # Run if workflow changes
7+ - ' .github/workflows/audit.yml'
8+ # Run on changed dependencies
69 - ' **/Cargo.toml'
710 - ' **/Cargo.lock'
11+ # Run if the configuration file changes
12+ - ' **/audit.toml'
13+ # Rerun periodically to pick up new advisories
814 schedule :
9- - cron : ' 0 0 * * 0' # Once per week
15+ - cron : ' 0 0 * * *' # Nightly
16+ # Run manually
17+ workflow_dispatch :
1018
1119jobs :
12-
13- security_audit :
14- runs-on : ubuntu-20.04
20+ audit :
21+ runs-on : ubuntu-latest
22+ permissions :
23+ contents : read
24+ issues : write
1525 steps :
1626 - uses : actions/checkout@v4
17- - uses : actions-rs/audit-check@v1
18- with :
19- token : ${{ secrets.GITHUB_TOKEN }}
27+ - uses : actions-rust-lang/audit@v1
28+ name : Audit Rust Dependencies
You can’t perform that action at this time.
0 commit comments