From 658e062cb8c6ec740ef3bf997dc2d171c96fd4cc Mon Sep 17 00:00:00 2001 From: "Anaz S. Aji" <12648688+ajianaz@users.noreply.github.com> Date: Tue, 17 Nov 2026 09:10:41 +0000 Subject: [PATCH] ci: let the security audit create its check run on pushes Closes #796. --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 392ad06..e14f346 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,6 +70,11 @@ jobs: audit: name: Security Audit (CVE) runs-on: ubuntu-latest + # rustsec/audit-check reports its result as a check run, which needs + # checks: write on push events (pull requests did not need it). + permissions: + contents: read + checks: write steps: - uses: actions/checkout@v4 - uses: rustsec/audit-check@858dc40f52ca2b8570b7a997c1c4e35c6fc9a432