From 92383a7590fce85789fecc5dcedfc0b2ee8cc71a Mon Sep 17 00:00:00 2001 From: Arpit Jain Date: Sun, 31 May 2026 10:20:51 +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/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b23723..5340db3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,10 @@ name: Build on: [push] + +permissions: + contents: read + jobs: build: runs-on: ubuntu-latest