diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index 524ba16e6e..0000000000 --- a/.github/stale.yml +++ /dev/null @@ -1,2 +0,0 @@ -# https://github.com/probot/stale#usage cspell:words wontfix -staleLabel: 'status: wontfix' diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000000..8d141cba82 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,23 @@ +name: Stale # close stale issues +on: + schedule: + - cron: '30 7 * * 4' # runs 7:30 on Thursdays + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + any-of-labels: + 'status: needs reproduction,status: waiting for author πŸ’¬' + stale-issue-message: | + This issue is stale because it has been open for 30 days with no activity. + Remove the stale label or add a comment, otherwise this issue will be closed in 14 days. + close-issue-message: | + This issue was closed because it has received no activity for 14 days. + stale-issue-label: 'stale 🍞' + close-issue-label: 'status: won’t fix πŸ”š' + days-before-stale: 30 + days-before-close: 14 + days-before-pr-close: -1