Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/close-stale-issues-prs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Close stale issues and pull requests (uses actions/stale@v4 with GITHUB_TOKEN)
on:
schedule:
- cron: '0 0 * * 1' # weekly run: every Monday at 00:00 UTC
- cron: "0 0 * * 1" # weekly run: every Monday at 00:00 UTC
workflow_dispatch:

permissions:
Expand All @@ -19,12 +19,14 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Messages for issues (mention the issue author)
stale-issue-message: 'Hello @{{author}}, this issue has been automatically marked as stale because it has not had recent activity. It will be auto-closed after and additional 10 days of inactivity. Please feel free to add a comment and we would be happy to continue working on it.'
close-issue-message: 'Hello @{{author}}, this issue has been automatically closed due to 45 days of inactivity. If needed, please reopen or comment and we can reevaluate your request.'
stale-issue-message: "Hey there, this issue has been automatically marked as stale because it has not had recent activity. It will be auto-closed after and additional 10 days of inactivity. If you need it open for longer, add the label `stale-exempt`."
close-issue-message: "Hey there, this issue has been automatically closed due to 45 days of inactivity. If needed, please reopen or comment and we can reevaluate your request."
# Messages for pull requests (mention the PR author)
stale-pr-message: 'Hello @{{author}}, this pull request has been automatically marked as stale because it has not had recent activity. It will be auto-closed after and additional 10 days of inactivity. Please feel free to add a comment and we would be happy to continue working on it.'
close-pr-message: 'Hello @{{author}}, this pull request has been automatically closed due to 45 days of inactivity. If needed, please reopen or comment and we can reevaluate your request.'
stale-pr-message: "Hey there, this pull request has been automatically marked as stale because it has not had recent activity. It will be auto-closed after and additional 10 days of inactivity. If you need it open for longer, add the label `stale-exempt`."
close-pr-message: "Hey there, this pull request has been automatically closed due to 45 days of inactivity. If needed, please reopen or comment and we can reevaluate your request."
# Time thresholds (adjust to your policy)
days-before-stale: 35
days-before-close: 10
operations-per-run: 5
days-before-close: 15
operations-per-run: 100
exempt-pr-labels: stale-exempt
exempt-issues-labels: stale-exempt
Loading