diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..2c0d62b --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,23 @@ +name: Stale + +on: + schedule: + - cron: "0 6 * * 1" + workflow_dispatch: + +permissions: + issues: write + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: "This issue has been automatically marked as stale due to inactivity. It will be closed in 7 days if no further activity occurs." + stale-pr-message: "This PR has been automatically marked as stale due to inactivity. It will be closed in 7 days if no further activity occurs." + days-before-stale: 30 + days-before-close: 7 + stale-issue-label: stale + stale-pr-label: stale