Skip to content

Commit

Permalink
Build: Add stale workflow (#617)
Browse files Browse the repository at this point in the history
The configuration must be on the default branch and the values will:

1. Add a label "Stale" on issues and pull requests after 60 days of
inactivity and comment on them
2. Close the stale issues and pull requests after 14 days of inactivity
3. If an update/comment occur on stale issues or pull requests, the
stale label will be removed and the timer will restart
  • Loading branch information
brafdlog authored Nov 9, 2024
2 parents 73f3c5a + 2222a73 commit a63e633
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
days-before-close: 14
stale-issue-message: 'Issue has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
stale-pr-message: 'Pull request has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'

0 comments on commit a63e633

Please sign in to comment.