Skip to content

Commit

Permalink
Add explicit permissions to stale workflow (#2464)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpollock authored Aug 9, 2024
1 parent fafc91d commit 8f1ad39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/staleness.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: "Close stale issues and PRs"

permissions: read-all

on:
schedule:
- cron: "0 * * * *"

jobs:
stale:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
Expand Down

0 comments on commit 8f1ad39

Please sign in to comment.