diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000000..7842f4d926 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,29 @@ +name: "Stale" + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + runs-on: ubuntu-20.04 + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 365 + days-before-close: 14 + stale-issue-label: status/stale + exempt-issue-labels: status/never-stale + stale-issue-message: | + This issue has been automatically marked as stale due to a year of inactivity. + It will be closed if no further activity occurs within 14 days. + If you think that’s incorrect or the issue should never stale, please simply write any comment. + Thanks for your contributions! + stale-pr-label: status/stale + exempt-pr-labels: status/never-stale + stale-pr-message: | + This PR has been automatically marked as stale due to a year of inactivity. + It will be closed if no further activity occurs within 14 days. + If you think that’s incorrect or the issue should never stale, please simply write any comment. + Thanks for your contributions!