From 1ce61146d3e3ab9d13f8bfe11476ad4e46d77845 Mon Sep 17 00:00:00 2001 From: Arpit Jain Date: Thu, 21 May 2026 10:50:34 +0900 Subject: [PATCH] ci(suite): cap GITHUB_TOKEN to contents: read Build & test workflow runs make build/test only; no GitHub API writes. contents: read at workflow level is the appropriate cap. Post-CVE-2025-30066 hardening shape. yaml.safe_load validated. Signed-off-by: Arpit Jain --- .github/workflows/suite.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/suite.yml b/.github/workflows/suite.yml index 1c79dfc..e0cd476 100644 --- a/.github/workflows/suite.yml +++ b/.github/workflows/suite.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [ master ] +permissions: + contents: read + jobs: test: runs-on: ubuntu-latest