diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2023-04-01 15:41:35 -0400 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2023-04-01 15:41:35 -0400 |
| commit | 7dd2df4eea7a0f12a2aa01f98d86fb0ae4f3e847 (patch) | |
| tree | 3259e5e6526e7a733c4e7a7965c97e7ca4386f20 | |
| parent | f3ba5d5b35a6db83b21d079eabb15d2eae37c906 (diff) | |
Add stale action
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
| -rw-r--r-- | .github/workflows/stale.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..bc5ebbdb --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,23 @@ +name: 'Stale issue handler' +on: + workflow_dispatch: + schedule: + - cron: '42 04 * * 1' + +permissions: + issues: write + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + # See https://github.com/actions/stale#all-options + with: + days-before-stale: 60 + days-before-close: 14 + stale-issue-message: | + This issue is stale because it has been open for 60 days with no activity. Remove `stale` label or comment or this will be automatically closed in a few days. + stale-pr-message: | + This pull request is stale because it has been open for 60 days with no activity. Remove `stale` label or comment or this will be automatically closed in a few days. |
