File tree Expand file tree Collapse file tree 4 files changed +438
-7
lines changed
Expand file tree Collapse file tree 4 files changed +438
-7
lines changed Original file line number Diff line number Diff line change 2121 runs-on : ubuntu-latest
2222 steps :
2323 - name : Checkout repository
24+ # yamllint disable-line rule:line-length
2425 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2526
2627 - name : Setup Rust with caching
3536 tool : cargo-audit
3637
3738 - name : Run security audit
39+ # Ignore RUSTSEC-2023-0071 (rsa timing side-channel):
40+ # transitive dep from jsonwebtoken rust_crypto feature;
41+ # we only use HMAC-SHA256, never RSA.
42+ run : >-
43+ cargo audit --deny warnings
44+ --ignore RUSTSEC-2023-0071
45+
46+ # Separate job: run audit WITHOUT ignores to surface when
47+ # fixes become available. Failures here are informational
48+ # (do not block PRs).
49+ audit-full :
50+ name : Full Audit (informational)
51+ runs-on : ubuntu-latest
52+ if : github.event_name == 'schedule'
53+ continue-on-error : true
54+ steps :
55+ - name : Checkout repository
56+ # yamllint disable-line rule:line-length
57+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
58+
59+ - name : Setup Rust with caching
60+ uses : ./.github/actions/setup-rust-cached
61+ with :
62+ toolchain : stable
63+ cache-key : audit-full
64+
65+ - name : Install cargo-audit
66+ uses : ./.github/actions/install-cargo-tool
67+ with :
68+ tool : cargo-audit
69+
70+ - name : Run full audit (no ignores)
3871 run : cargo audit --deny warnings
You can’t perform that action at this time.
0 commit comments