diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..4e104ab --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,20 @@ +name: Close stale issues and PRs +on: + schedule: + - cron: 0 10 * * * + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + days-before-stale: 30 + stale-pr-message: This PR has been inactive for 30 days and will be marked as stale. + stale-issue-message: This issue has been inactive for 30 days and will be marked as stale. + close-issue-message: Closed for inactivity. + close-pr-message: Closed for inactivity. + stale-issue-label: stale + stale-pr-label: stale + exempt-issue-labels: pinned + exempt-pr-labels: pinned