Skip to content

Commit

Permalink
add stale workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerivec committed Dec 6, 2024
1 parent df1e655 commit 6b8ff39
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 4 * * *'

permissions:
# contents: write # only for delete-branch option
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
days-before-stale: 30
days-before-close: 5
exempt-issue-labels: dont-stale
exempt-pr-labels: dont-stale

0 comments on commit 6b8ff39

Please sign in to comment.