From 3904cb270fb89d9a8ad5ece378f79e373aa553e4 Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Tue, 12 Mar 2024 12:01:37 -0700 Subject: [PATCH 1/2] Create stale.yaml --- .github/workflows/stale.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/stale.yaml diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 0000000..d53c42c --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,16 @@ +name: 'Close stale issues' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: 'This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 14 days.' + close-issue-message: 'This issue was closed because it has been stalled for 35 days with no activity.' + days-before-stale: 21 + days-before-close: 14 + days-before-pr-close: -1 From cce18293c6d29d31a65b90679ba330b73ed5ccaf Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Tue, 12 Mar 2024 14:26:44 -0700 Subject: [PATCH 2/2] Update stale.yaml --- .github/workflows/stale.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index d53c42c..4daf9e6 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -3,6 +3,10 @@ on: schedule: - cron: '30 1 * * *' +permissions: + issues: write + pull-requests: read + jobs: stale: runs-on: ubuntu-latest