☕️ Classic, reliable, trusted test framework for Node.js and the browser
chore: add workflow to handle stale items (#5831)
Mark Wiemerdd08f6fab89e
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.ymlnew file mode 100644index 00000000..423261bd--- /dev/null+++ b/.github/workflows/stale.yml@@ -0,0 +1,38 @@+name: Manage stale items++on:+ schedule:+ - cron: "0 0 * * *" # Run daily at midnight UTC+ workflow_dispatch:++permissions:+ issues: write+ pull-requests: write++jobs:+ stale:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/stale@v9+ with:+ close-issue-message: >+ This issue has been automatically closed after waiting 4 weeks with no response from the author.+ If you have more information to provide, please feel free to reopen this issue or open a new one.+ close-pr-message: >+ This pull request has been automatically closed after waiting 4 weeks with no response from the author.+ If you have more information to provide, please feel free to reopen this pull request or open a new one.+ days-before-close: 14+ days-before-stale: 14+ only-labels: "status: waiting for author"+ operations-per-run: 100+ remove-stale-when-updated: true+ stale-issue-label: "status: stale"+ stale-issue-message: >+ This issue has been waiting for a response from the author for 2 weeks with no activity.+ If there is no further activity in the next 2 weeks, this issue will be automatically closed.+ Maintainers: to keep this issue open indefinitely, remove the "status: waiting for author" label.+ stale-pr-label: "status: stale"+ stale-pr-message: >+ This pull request has been waiting for a response from the author for 2 weeks with no activity.+ If there is no further activity in the next 2 weeks, this pull request will be automatically closed.+ Maintainers: to keep this pull request open indefinitely, remove the "status: waiting for author" label.