File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Security Audit
22on :
33 pull_request :
4- paths : Cargo.lock
4+ paths :
5+ - .github/workflows/security-audit.yml
6+ - Cargo.lock
57 push :
68 branches : master
7- paths : Cargo.lock
9+ paths :
10+ - .github/workflows/security-audit.yml
11+ - Cargo.lock
812 schedule :
913 - cron : " 0 0 * * *"
1014
15+ permissions : # added using https://github.com/step-security/secure-repo
16+ contents : read
17+
1118jobs :
1219 security_audit :
1320 name : Security Audit
1421 runs-on : ubuntu-latest
22+ permissions :
23+ checks : write
24+ contents : read
25+ issues : write
1526 steps :
1627 - uses : actions/checkout@v4
1728 - name : Cache cargo bin
1829 uses : actions/cache@v4
1930 with :
2031 path : ~/.cargo/bin
21- key : ${{ runner.os }}-cargo-audit-v0.12 .0
22- - uses : actions-rs /audit-check@v1
32+ key : ${{ runner.os }}-cargo-audit-v0.22 .0
33+ - uses : rustsec /audit-check@v2
2334 with :
2435 token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments