From 9c041c29c4adc94eeeb2468534ee4c159893600f Mon Sep 17 00:00:00 2001 From: Toni Bergholm Date: Sun, 12 Jul 2026 22:22:25 +0300 Subject: [PATCH] ci(audit): grant issues:write + ignore RUSTSEC-2026-0173 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .github/workflows/audit.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 020d1686..a35798da 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -21,6 +21,9 @@ on: permissions: contents: read checks: write + # Scheduled runs file findings as GitHub issues; without this the action + # fails with "Resource not accessible by integration" after a clean audit. + issues: write jobs: audit: @@ -31,3 +34,7 @@ jobs: - uses: rustsec/audit-check@v2 with: token: ${{ secrets.GITHUB_TOKEN }} + # proc-macro-error2 (unmaintained) reaches the lockfile only via + # gix -> gix-date -> jiff -> defmt, an optional jiff feature we never + # compile; unactionable here until upstream migrates off it. + ignore: RUSTSEC-2026-0173