From 2b7bb490d5c543e05f8f9b08b3d739e87329e40c Mon Sep 17 00:00:00 2001 From: Arpit Jain Date: Thu, 21 May 2026 11:03:17 +0900 Subject: [PATCH] ci(test): cap GITHUB_TOKEN to contents: read test workflow runs the terraform-provider acceptance tests. No GitHub API writes from the workflow. 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 e1295657..7249d654 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,6 +16,9 @@ on: # change. # schedule: # - cron: '0 13 * * *' +permissions: + contents: read + jobs: build: if: contains(github.event.pull_request.labels.*.name, 'safe_to_test')