From 66772ba512ceef18c745a08c50a7e576b9d9d570 Mon Sep 17 00:00:00 2001 From: Arpit Jain Date: Tue, 26 May 2026 07:59:41 +0900 Subject: [PATCH] ci(semantic): cap GITHUB_TOKEN to contents: read Workflow runs checks only; no GitHub API writes. Post-CVE-2025-30066 hardening pattern. Signed-off-by: Arpit Jain --- .github/workflows/semantic.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml index 5fbae6dc..21a3b2cb 100644 --- a/.github/workflows/semantic.yml +++ b/.github/workflows/semantic.yml @@ -5,6 +5,9 @@ on: pull_request: types: [opened, reopened, synchronize, edited] +permissions: + contents: read + jobs: semantic: uses: influxdata/validate-semantic-github-messages/.github/workflows/semantic.yml@main