diff --git a/.github/workflows/stale-bot.yml b/.github/workflows/stale-bot.yml new file mode 100644 index 0000000..83df116 --- /dev/null +++ b/.github/workflows/stale-bot.yml @@ -0,0 +1,17 @@ +name: Stale Bot +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * 1' # every monday at midnight +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + stale-issue-message: "This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 15 days." + close-issue-message: "This issue was closed because it has been stalled for 15 days with no activity." + exempt-issue-labels: "keep" + days-before-stale: 365 + days-before-close: 15 + debug-only: true \ No newline at end of file