Commit 7c4c0a1
ci: ignore ratatui's transitive advisories in cargo-audit
The rustsec/audit-check action fails on any advisory (unmaintained + unsound),
unlike cargo-deny which only warns on these. ratatui's tree pulls in two:
RUSTSEC-2024-0436 — paste (unmaintained, build-time proc-macro)
RUSTSEC-2026-0002 — lru 0.12.5 (unsound IterMut; transitive)
Neither is fixable without dropping ratatui. Ignore both in the audit job
(mirroring deny.toml's paste policy) and grant the job checks:write so the
action can post its findings as a check run — the missing permission is what
turned the "2 warnings" into a hard "Resource not accessible" failure.
The lru advisory (dated 2026-01-07) only surfaced in CI because CI fetches a
fresh advisory DB; the local clone predated it.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 595aeaf commit 7c4c0a1
2 files changed
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
69 | 75 | | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
75 | 88 | | |
76 | 89 | | |
77 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
0 commit comments