diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..852e9ab --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,22 @@ +name: Mark stale issues and pull requests + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + + 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.' + stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity.' + stale-issue-label: 'stale-issue' + exempt-issue-labels: 'enhancement,documentation,good-first-issue,question' + stale-pr-label: 'stale-pr' + exempt-pr-labels: 'work-in-progress' + days-before-stale: 30 + days-before-close: -1