diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index a098f5ce..ae8f41dc 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,15 +1,18 @@ name: "Close stale issues" on: schedule: - - cron: "0 0 * * *" + - cron: "0 0 * * *" jobs: stale: runs-on: ubuntu-18.04 steps: - - uses: actions/stale@v3 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days' - days-before-stale: 30 - days-before-close: 10 + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: "This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days" + days-before-stale: 30 + days-before-close: 10 + exempt-issue-labels: "awaiting-approval,work-in-progress,no-stale" + exempt-pr-labels: "awaiting-approval,work-in-progress,no-stale" + stale-issue-label: "no-issue-activity"