Skip to content

Close Stale Issues #644

Close Stale Issues

Close Stale Issues #644

Workflow file for this run

# Close Stale Issues
# Warns and then closes issues and PRs that have had no activity for a specified amount of time.
# https://github.com/actions/stale
name: Close Stale Issues
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@6f05e4244c9a0b2ed3401882b05d701dd0a7289b # pin@v7
with:
# Idle number of days before marking issues stale, set `-1` to disable
days-before-issue-stale: 60
# Idle number of days before marking issues stale, set `-1` to disable
days-before-pr-stale: 60
# Idle number of days before closing stale issues/PRs
days-before-close: 15
# Comment on the staled issues
stale-issue-message: "This issue has been marked as stale because it requires further input but has not seen activity in the past months. This is for us to prioritize issues that are still relevant and actionable. It will be closed if no further activity occurs within the next 15 days. If this issue is still relevant to you, please help us in gathering the necessary input."
# Comment on the staled PRs
stale-pr-message: "This PR has been marked as stale because it requires further changes but has not seen activity in the past months. This is for us to prioritize PRs that can be reviewed and merged. It will be closed if no further activity occurs within the next 15 days. If you still have interest in this PR, please help us finalizing it. Please let us know in case you are stuck on the required changes."
# Label to apply on staled issues
stale-issue-label: "type: stale πŸ’€"
# Label to apply on staled PRs
stale-pr-label: "type: stale πŸ’€"
# Reason to use when closing issues
close-issue-reason: not_planned
# Labels to check for stale issues/PRs
any-of-pr-labels: "needs: changes πŸ”"
any-of-issue-labels: "needs: information ❓,needs: replication πŸ”¬"
# PRs/issues exempted from stale
exempt-all-milestones: true
exempt-issue-labels: "critical: roadblock 🚧,type: regression 🚨"