From 4316f24a676faf0e9a702bd5751e1d3cb0b419c4 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Sun, 24 Aug 2025 00:24:07 +0100 Subject: [PATCH] ci/update-maintainers: drop `issues:write` permission We requested this permission to be able to create new labels, when labelling the PR. However that is not necessary here, because a) we don't apply any labels and b) if we did we could create them manually. Our app installation doesn't have `issues:write`, so requesting it was causing the workflow to fail. --- .github/workflows/update-maintainers.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/update-maintainers.yml b/.github/workflows/update-maintainers.yml index c56dd06e..c0573dbb 100644 --- a/.github/workflows/update-maintainers.yml +++ b/.github/workflows/update-maintainers.yml @@ -24,11 +24,9 @@ jobs: # Permissions required for workflow # `contents`: to update maintainers file # `pull-requests`: to create pr - # `issues`: to label pr permissions: contents: write pull-requests: write - issues: write env: pr_branch: update/maintainers-${{ github.ref_name }} steps: @@ -41,7 +39,6 @@ jobs: private-key: ${{ secrets.CI_APP_PRIVATE_KEY }} permission-contents: write permission-pull-requests: write - permission-issues: write - name: Get GitHub App user info id: user-info