Skip to content

Commit

Permalink
MAINT Permission for GH token in stale.yml
Browse files Browse the repository at this point in the history
See huggingface/peft#2061 for the equivalent PR
in PEFT.

This restores the functionality of the stale bot after permissions for
the token have been limited. The action still shows errors for PEFT but
the bot appears to work fine.
  • Loading branch information
BenjaminBossan committed Sep 12, 2024
1 parent 45aa8bb commit 2260e62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
name: Close Stale Issues
if: github.repository == 'huggingface/diffusers'
runs-on: ubuntu-latest
permissions:
issues: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
Expand Down

0 comments on commit 2260e62

Please sign in to comment.