diff --git a/.github/workflows/stale-issue-bot.yaml b/.github/workflows/stale-issue-bot.yaml index e33236a9..93e9d8c6 100644 --- a/.github/workflows/stale-issue-bot.yaml +++ b/.github/workflows/stale-issue-bot.yaml @@ -2,7 +2,7 @@ name: "Close stale issues" on: schedule: - - cron: "0 0 * * *" + - cron: '0 0 * * *' jobs: stale: runs-on: ubuntu-latest @@ -29,3 +29,14 @@ jobs: exempt-issue-labels: 'enhancement,bug' days-before-stale: 21 days-before-close: 7 + invalid: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-label: invalid + stale-pr-label: invalid + days-before-stale: -1 + days-before-close: 2 + remove-stale-when-updated: false