From 7dd2df4eea7a0f12a2aa01f98d86fb0ae4f3e847 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sat, 1 Apr 2023 15:41:35 -0400 Subject: Add stale action Signed-off-by: Dave Henderson --- .github/workflows/stale.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/stale.yml (limited to '.github') 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. -- cgit v1.2.3