From f8fc632991789e77c17341f4f458595a3110988b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gordon=20Beeming=20=5BSSW=20=E2=80=A2=20Microsoft=20MVP=5D?= Date: Thu, 28 Mar 2024 13:18:49 +1000 Subject: [PATCH] Issue read is needed as well for private repos Even though we are not deleting by default, the action still reads the issues https://github.com/actions/stale Currently failing on a private repo on a client project --- .github/workflows/pr-manage-stale.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pr-manage-stale.yml b/.github/workflows/pr-manage-stale.yml index 2400ff1..1d20d82 100644 --- a/.github/workflows/pr-manage-stale.yml +++ b/.github/workflows/pr-manage-stale.yml @@ -11,13 +11,11 @@ on: permissions: contents: read + issues: read pull-requests: write jobs: review-reminder: - permissions: - contents: read - pull-requests: write runs-on: ubuntu-latest