Skip to content

Commit

Permalink
Add stale bot workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fleupold committed Feb 5, 2024
1 parent 011c60b commit 0f40af7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Nag Stale Pull Requests
on:
schedule:
- cron: '0 0 * * *' # Run every day at midnight
jobs:
close_stale_prs:
runs-on: ubuntu-latest
steps:
- name: Close stale pull requests
uses: actions/stale@v5
with:
days-before-stale: 7
days-before-issue-stale: 60
days-before-close: 7
stale-pr-message: 'This pull request has been marked as stale because it has been inactive a while. Please update this pull request or it will be automatically closed.'
stale-issue-message: 'This issue has been marked as stale because it has been inactive a while. Please update this issue or it will be automatically closed.'
stale-pr-label: stale

0 comments on commit 0f40af7

Please sign in to comment.