Skip to content

ci(audit): grant issues:write + ignore RUSTSEC-2026-0173 - #50

Merged
tonibergholm merged 1 commit into
mainfrom
fix-audit-workflow-permissions
Jul 12, 2026
Merged

tonibergholm merged 1 commit into
mainfrom
fix-audit-workflow-permissions

Conversation

@tonibergholm

Copy link
Copy Markdown
Member

Summary

  • Fixes the failing daily audit run (https://github.com/git-agentic/src-control/actions/runs/29186050056): rustsec/audit-check@v2 files findings as GitHub issues on schedule runs, but the workflow token lacked issues: write, so the job died with "Resource not accessible by integration" after an otherwise clean audit (0 vulnerabilities).
  • Ignores RUSTSEC-2026-0173 (proc-macro-error2 is unmaintained, informational): it reaches the lockfile only via gix → gix-date → jiff → defmt, an optional jiff feature we never compile. Unactionable on our side until upstream migrates off it.

Notes

  • With the ignore in place the daily run goes green and will NOT file a tracking issue for this advisory.
  • This workflow triggers on changes to audit.yml, so this PR's own CI run re-audits and proves the fix.

The daily scheduled audit run fails with "Resource not accessible by
integration": rustsec/audit-check@v2 files findings as GitHub issues on
schedule runs, but the workflow token lacked issues:write.

Also ignore RUSTSEC-2026-0173 (proc-macro-error2 unmaintained): it
reaches Cargo.lock only via gix -> gix-date -> jiff -> defmt, an
optional jiff feature we never compile — unactionable here until
upstream migrates off it.
@tonibergholm
tonibergholm merged commit d3df9ce into main Jul 12, 2026
6 checks passed
@tonibergholm
tonibergholm deleted the fix-audit-workflow-permissions branch July 12, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant