From 090acd085c91898211e5daa6660d864e89f7c26a Mon Sep 17 00:00:00 2001 From: Arpit Jain Date: Mon, 25 May 2026 12:27:49 +0900 Subject: [PATCH] ci: cap GITHUB_TOKEN to contents: read CI workflow runs Go test; no GitHub API writes. Post-CVE-2025-30066 hardening pattern. Signed-off-by: Arpit Jain --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0661b93..08ecfca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [ main ] +permissions: + contents: read + jobs: build: