From 1729a09d7a08e41184f912e22585643e313fbb1c Mon Sep 17 00:00:00 2001 From: nuno maduro Date: Wed, 13 May 2026 02:29:49 +0100 Subject: [PATCH] chore: scope GITHUB_TOKEN to contents: read in workflows --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 010e08ad..9c9c4df7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,6 +4,9 @@ on: push: pull_request: +permissions: + contents: read + jobs: tests: if: github.event_name != 'schedule' || github.repository == 'pestphp/pest'