diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..31bd458d --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,39 @@ +name: "Close stale issues and PRs" +on: + schedule: + - cron: "30 1 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3 + with: + stale-issue-message: | + This issue has been automatically marked as stale because it has not had recent activity. + + If this is a **bug** and you can still reproduce this error on the `master` branch, please reply with any additional information you have about it in order to keep the issue open. + + If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial. + + This issue will automatically be closed in 7 days if no further activity occurs. Thank you for all your contributions. + stale-pr-message: | + This issue has been automatically marked as stale because it has not had recent activity. + + If this is a **bug** and you can still reproduce this error on the `master` branch, please reply with any additional information you have about it in order to keep the issue open. + + If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial. + + This issue will automatically be closed in 7 days if no further activity occurs. Thank you for all your contributions. + stale-issue-label: "Status: Stale" + exempt-issue-labels: + - "Status: Accepted" + - "Status: Under Consideration" + - "Status: Review Needed" + - "Status: In Progress" + stale-pr-label: "Status: Stale" + exempt-pr-labels: + - "Status: Accepted" + - "Status: Under Consideration" + - "Status: Review Needed" + - "Status: In Progress" \ No newline at end of file