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: