From 8d4eabc60afee9e0507a71fa347ce4b8865371df Mon Sep 17 00:00:00 2001 From: Arpit Jain Date: Tue, 26 May 2026 07:58:55 +0900 Subject: [PATCH] ci: cap GITHUB_TOKEN to contents: read Workflow runs checks only; no GitHub API writes. Post-CVE-2025-30066 hardening pattern. Signed-off-by: Arpit Jain --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 297724f4e..43e02f9a4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,6 +6,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} cancel-in-progress: true +permissions: + contents: read + jobs: check-file-encoding: