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