Skip to content

Commit

Permalink
chore: add permissions and edit cron job for stale issue workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaietta committed Jul 26, 2023
1 parent f210aee commit cdc2fbb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: 'Close stale issues and PR'
on:
schedule:
- cron: '30 1 * * *'
- cron: '0 0 * * *'

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v8
with:
Expand All @@ -14,4 +17,3 @@ jobs:
close-issue-message: 'This issue was closed because it has been stalled for 30 days with no activity.'
days-before-stale: 60
days-before-close: 30
days-before-pr-close: -1

0 comments on commit cdc2fbb

Please sign in to comment.