From fb1eca66db0f8f13f052611b251289ca37b67b62 Mon Sep 17 00:00:00 2001 From: Arpit Jain Date: Thu, 21 May 2026 11:04:24 +0900 Subject: [PATCH] ci(test): cap GITHUB_TOKEN to contents: read test workflow runs unit tests; no GitHub API writes. contents: read at workflow level is the right cap. Post-CVE-2025-30066 hardening shape. yaml.safe_load validated. Signed-off-by: Arpit Jain --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 59c65dc47..f9134b2ec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,8 @@ name: Test on: [push, pull_request] +permissions: + contents: read + jobs: build: name: Test