From 6851e20824f817b0d6ea9f8547ec570aedb99e90 Mon Sep 17 00:00:00 2001 From: eleanorjboyd Date: Tue, 17 Dec 2024 09:27:47 -0800 Subject: [PATCH] write permissions --- .github/workflows/pr-file-check.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-file-check.yml b/.github/workflows/pr-file-check.yml index 1d0f83476b8f..8f0e0240a1c8 100644 --- a/.github/workflows/pr-file-check.yml +++ b/.github/workflows/pr-file-check.yml @@ -9,6 +9,9 @@ on: - 'labeled' - 'unlabeled' +permissions: + issues: write + jobs: changed-files-in-pr: name: 'Check for changed files' @@ -45,7 +48,7 @@ jobs: uses: actions-ecosystem/action-add-labels@v1 with: labels: 'issue-please' - + - name: 'Ensure PR has an associated issue' uses: actions/github-script@v7 with: