From 127818fc27ebe5cb236357fff59ff1748326d643 Mon Sep 17 00:00:00 2001 From: Benjamin Bossan Date: Mon, 7 Oct 2024 15:35:36 +0200 Subject: [PATCH] MNT Permission for PRs for GH token in stale.yml (#3112) Continuation of #3102. The equivalent PR in PEFT (https://github.com/huggingface/peft/pull/2064) was successful to restore stale bot function to PRs as well. Hence also making the same change for accelerate. --- .github/workflows/stale.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index db5fe47b32c..bd8cdac6a5a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -12,6 +12,7 @@ jobs: runs-on: ubuntu-latest permissions: issues: write + pull-requests: write env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: