From c14f4f28d80fe4daf96a2cf0a575be5e953dfee2 Mon Sep 17 00:00:00 2001 From: Arpit Jain Date: Sun, 31 May 2026 10:16:22 +0900 Subject: [PATCH] ci: declare workflow-level contents: read on 1 workflow Declares an explicit workflow-level permissions: contents: read on 1 workflow that currently inherit the default broad read-write GITHUB_TOKEN. Each file was inspected and only reads the checkout; none publish, push, or write via the GitHub API. Post-CVE-2025-30066 hardening default. Signed-off-by: Arpit Jain --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26a0dcab..d4cb646c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,10 @@ on: - main - 'release/**' + +permissions: + contents: read + jobs: # # Project checks