From 037545fd77e2439afaf09408c12fd7a25dec35a9 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 1 Mar 2025 10:52:38 -0800 Subject: [PATCH 01/21] stale-issue-helper dry run --- .github/workflows/stale-issue-helper.yaml | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/stale-issue-helper.yaml diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml new file mode 100644 index 000000000..c6d4c415a --- /dev/null +++ b/.github/workflows/stale-issue-helper.yaml @@ -0,0 +1,25 @@ +name: "Label stale issues and PRs" +on: + schedule: + - cron: "*/5 * * * *" + +jobs: + stale: + runs-on: ubuntu-latest + strategy: + matrix: + assignee: [sestinj, Patrick-Erichsen, tomasz-stefaniak, RomneyDa] + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: "This issue hasn't been updated in a while. @${{ matrix.assignee }} can you take a look?" + stale-pr-message: "This PR hasn't been updated in a while. @${{ matrix.assignee }} can you take a look?" + days-before-stale: 180 + days-before-close: -1 + days-before-pr-close: -1 + stale-issue-label: "stale" + stale-pr-label: "stale" + debug-only: true + exempt-issue-labels: "needs-triage,no-stale" + exempt-pr-labels: "no-stale,no-stale" + exempt-assignees: ${{ toJSON(fromJSON('["sestinj", "Patrick-Erichsen", "tomasz-stefaniak", "RomneyDa"]').filter(user => user != matrix.assignee)) }} From 3acbc68df82ebfd03ffbd13fdb317cf3c0e0f6df Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 1 Mar 2025 10:53:22 -0800 Subject: [PATCH 02/21] run on push --- .github/workflows/stale-issue-helper.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index c6d4c415a..11c651cd7 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -1,7 +1,10 @@ name: "Label stale issues and PRs" on: + push: + branches: + - nate/stale-issue-helper schedule: - - cron: "*/5 * * * *" + - cron: "30 1 * * *" jobs: stale: From 17e5eb912f640f9cf19ef3d52ed8cfdd72e49a7b Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 1 Mar 2025 11:12:09 -0800 Subject: [PATCH 03/21] use excluded-assignees --- .github/workflows/stale-issue-helper.yaml | 16 +++++++++++++- scripts/getExcludedAssignees.js | 27 +++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 scripts/getExcludedAssignees.js diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index 11c651cd7..4bfc83dee 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -13,6 +13,20 @@ jobs: matrix: assignee: [sestinj, Patrick-Erichsen, tomasz-stefaniak, RomneyDa] steps: + - uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version-file: .nvmrc + + - name: Compute excluded assignees + id: excluded-assignees + run: | + node ./scripts/getExcludedAssignees.js sestinj,Patrick-Erichsen,tomasz-stefaniak,RomneyDa ${{ matrix.assignee }} + + echo "excluded_assignees=$result" >> $GITHUB_OUTPUT + - uses: actions/stale@v9 with: stale-issue-message: "This issue hasn't been updated in a while. @${{ matrix.assignee }} can you take a look?" @@ -25,4 +39,4 @@ jobs: debug-only: true exempt-issue-labels: "needs-triage,no-stale" exempt-pr-labels: "no-stale,no-stale" - exempt-assignees: ${{ toJSON(fromJSON('["sestinj", "Patrick-Erichsen", "tomasz-stefaniak", "RomneyDa"]').filter(user => user != matrix.assignee)) }} + exempt-assignees: ${{ steps.excluded-assignees.outputs.excluded_assignees }} diff --git a/scripts/getExcludedAssignees.js b/scripts/getExcludedAssignees.js new file mode 100644 index 000000000..e6ac5904c --- /dev/null +++ b/scripts/getExcludedAssignees.js @@ -0,0 +1,27 @@ +#!/usr/bin/env node + +function removeStringFromList(list, stringToRemove) { + return list.filter((item) => item !== stringToRemove); +} + +function main() { + // Get command line arguments + const args = process.argv.slice(2); + + if (args.length < 2) { + console.error( + "Usage: node script.js ", + ); + process.exit(1); + } + + const list = args[0].split(","); + const stringToRemove = args[1]; + + const result = removeStringFromList(list, stringToRemove); + + // Output the result as comma-separated values + console.log(result.join(",")); +} + +main(); From 22c296867638ff5a149c96a2ae7a128516f8f8c5 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 1 Mar 2025 11:17:55 -0800 Subject: [PATCH 04/21] include only assigned --- .github/workflows/stale-issue-helper.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index 4bfc83dee..f2780530f 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -40,3 +40,4 @@ jobs: exempt-issue-labels: "needs-triage,no-stale" exempt-pr-labels: "no-stale,no-stale" exempt-assignees: ${{ steps.excluded-assignees.outputs.excluded_assignees }} + include-only-assigned: true From a6160ce3433427ba5258645290b028a3291540e5 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 1 Mar 2025 11:20:05 -0800 Subject: [PATCH 05/21] fx --- .github/workflows/stale-issue-helper.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index f2780530f..2c5a00b19 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -23,8 +23,9 @@ jobs: - name: Compute excluded assignees id: excluded-assignees run: | - node ./scripts/getExcludedAssignees.js sestinj,Patrick-Erichsen,tomasz-stefaniak,RomneyDa ${{ matrix.assignee }} + result=$(node ./scripts/getExcludedAssignees.js sestinj,Patrick-Erichsen,tomasz-stefaniak,RomneyDa ${{ matrix.assignee }}) + echo "Result: $result" echo "excluded_assignees=$result" >> $GITHUB_OUTPUT - uses: actions/stale@v9 From 0b78baf289283ab73359980d29a3648064220538 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 1 Mar 2025 11:26:54 -0800 Subject: [PATCH 06/21] env --- .github/workflows/stale-issue-helper.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index 2c5a00b19..6b8747e8a 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -9,9 +9,11 @@ on: jobs: stale: runs-on: ubuntu-latest + env: + TEAM_MEMBERS: "sestinj,Patrick-Erichsen,tomasz-stefaniak,RomneyDa" strategy: matrix: - assignee: [sestinj, Patrick-Erichsen, tomasz-stefaniak, RomneyDa] + assignee: ${{ env.TEAM_MEMBERS }} steps: - uses: actions/checkout@v4 @@ -23,7 +25,7 @@ jobs: - name: Compute excluded assignees id: excluded-assignees run: | - result=$(node ./scripts/getExcludedAssignees.js sestinj,Patrick-Erichsen,tomasz-stefaniak,RomneyDa ${{ matrix.assignee }}) + result=$(node ./scripts/getExcludedAssignees.js ${{ env.TEAM_MEMBERS }} ${{ matrix.assignee }}) echo "Result: $result" echo "excluded_assignees=$result" >> $GITHUB_OUTPUT @@ -39,6 +41,6 @@ jobs: stale-pr-label: "stale" debug-only: true exempt-issue-labels: "needs-triage,no-stale" - exempt-pr-labels: "no-stale,no-stale" + exempt-pr-labels: "no-stale" exempt-assignees: ${{ steps.excluded-assignees.outputs.excluded_assignees }} include-only-assigned: true From db35636b71c05e787efc1af35ece6cfd993dd759 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 1 Mar 2025 11:28:02 -0800 Subject: [PATCH 07/21] fix --- .github/workflows/stale-issue-helper.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index 6b8747e8a..891908f7c 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -13,7 +13,7 @@ jobs: TEAM_MEMBERS: "sestinj,Patrick-Erichsen,tomasz-stefaniak,RomneyDa" strategy: matrix: - assignee: ${{ env.TEAM_MEMBERS }} + assignee: [sestinj, Patrick-Erichsen, tomasz-stefaniak, RomneyDa] steps: - uses: actions/checkout@v4 From b6bfb222f94b2528d33579cdff67be011dda8e55 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 19:53:47 -0800 Subject: [PATCH 08/21] auto close --- .github/workflows/stale-issue-helper.yaml | 31 +++-------------------- scripts/getExcludedAssignees.js | 27 -------------------- 2 files changed, 4 insertions(+), 54 deletions(-) delete mode 100644 scripts/getExcludedAssignees.js diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index 891908f7c..e05e45c40 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -9,38 +9,15 @@ on: jobs: stale: runs-on: ubuntu-latest - env: - TEAM_MEMBERS: "sestinj,Patrick-Erichsen,tomasz-stefaniak,RomneyDa" - strategy: - matrix: - assignee: [sestinj, Patrick-Erichsen, tomasz-stefaniak, RomneyDa] steps: - - uses: actions/checkout@v4 - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version-file: .nvmrc - - - name: Compute excluded assignees - id: excluded-assignees - run: | - result=$(node ./scripts/getExcludedAssignees.js ${{ env.TEAM_MEMBERS }} ${{ matrix.assignee }}) - - echo "Result: $result" - echo "excluded_assignees=$result" >> $GITHUB_OUTPUT - - uses: actions/stale@v9 with: - stale-issue-message: "This issue hasn't been updated in a while. @${{ matrix.assignee }} can you take a look?" - stale-pr-message: "This PR hasn't been updated in a while. @${{ matrix.assignee }} can you take a look?" - days-before-stale: 180 - days-before-close: -1 - days-before-pr-close: -1 + close-issue-message: "This issue was closed because it hasn't been updated for 120 days. If it's still important, please reopen + comment and we will glady take another look." + stale-issue-message: "It looks like this issue hasn't been updated in 90 days. If there's still no activity after 120 days, it will be closed." + days-before-stale: 90 + days-before-close: 120 stale-issue-label: "stale" stale-pr-label: "stale" debug-only: true exempt-issue-labels: "needs-triage,no-stale" exempt-pr-labels: "no-stale" - exempt-assignees: ${{ steps.excluded-assignees.outputs.excluded_assignees }} - include-only-assigned: true diff --git a/scripts/getExcludedAssignees.js b/scripts/getExcludedAssignees.js deleted file mode 100644 index e6ac5904c..000000000 --- a/scripts/getExcludedAssignees.js +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env node - -function removeStringFromList(list, stringToRemove) { - return list.filter((item) => item !== stringToRemove); -} - -function main() { - // Get command line arguments - const args = process.argv.slice(2); - - if (args.length < 2) { - console.error( - "Usage: node script.js ", - ); - process.exit(1); - } - - const list = args[0].split(","); - const stringToRemove = args[1]; - - const result = removeStringFromList(list, stringToRemove); - - // Output the result as comma-separated values - console.log(result.join(",")); -} - -main(); From 2f71a8edf0e8ef9c686ee8db6a41b3cbf7c22051 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 19:55:14 -0800 Subject: [PATCH 09/21] don't close/mark prs stale --- .github/workflows/stale-issue-helper.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index e05e45c40..2e0f0fdcd 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -16,6 +16,8 @@ jobs: stale-issue-message: "It looks like this issue hasn't been updated in 90 days. If there's still no activity after 120 days, it will be closed." days-before-stale: 90 days-before-close: 120 + days-before-pr-stale: -1 + days-before-pr-close: -1 stale-issue-label: "stale" stale-pr-label: "stale" debug-only: true From 567d2f146e6addffd44b849648c39a1b8e0bbd4d Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 20:00:59 -0800 Subject: [PATCH 10/21] update messages --- .github/workflows/stale-issue-helper.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index 2e0f0fdcd..b5f32c704 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -13,7 +13,7 @@ jobs: - uses: actions/stale@v9 with: close-issue-message: "This issue was closed because it hasn't been updated for 120 days. If it's still important, please reopen + comment and we will glady take another look." - stale-issue-message: "It looks like this issue hasn't been updated in 90 days. If there's still no activity after 120 days, it will be closed." + stale-issue-message: "This issue hasn't been updated in 90 days and will be closed after 120 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue." days-before-stale: 90 days-before-close: 120 days-before-pr-stale: -1 From d0b7d1a0e0b4f15562f70a2d6443f6dc83040a09 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 20:09:58 -0800 Subject: [PATCH 11/21] first round: close issues before 90 days --- .github/workflows/stale-issue-helper.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index b5f32c704..70159939e 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -14,12 +14,11 @@ jobs: with: close-issue-message: "This issue was closed because it hasn't been updated for 120 days. If it's still important, please reopen + comment and we will glady take another look." stale-issue-message: "This issue hasn't been updated in 90 days and will be closed after 120 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue." - days-before-stale: 90 - days-before-close: 120 + days-before-stale: -1 + days-before-close: 90 days-before-pr-stale: -1 days-before-pr-close: -1 stale-issue-label: "stale" stale-pr-label: "stale" - debug-only: true - exempt-issue-labels: "needs-triage,no-stale" + exempt-issue-labels: "needs-triage,no-stale,high,highest" exempt-pr-labels: "no-stale" From d4e46a946bd8551659aec1cd26c4645fa3e76225 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 20:18:40 -0800 Subject: [PATCH 12/21] update msg --- .github/workflows/stale-issue-helper.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index 70159939e..4e6e39d3d 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/stale@v9 with: - close-issue-message: "This issue was closed because it hasn't been updated for 120 days. If it's still important, please reopen + comment and we will glady take another look." + close-issue-message: "This issue was closed because it hasn't been updated for 120 days. If it's still important, please reopen + comment and we'll gladly take another look!" stale-issue-message: "This issue hasn't been updated in 90 days and will be closed after 120 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue." days-before-stale: -1 days-before-close: 90 From dd9ac81b44213f27eff617c9e70bded6454a39c9 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 20:19:51 -0800 Subject: [PATCH 13/21] mark stale --- .github/workflows/stale-issue-helper.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index 4e6e39d3d..30e1ad773 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -13,8 +13,8 @@ jobs: - uses: actions/stale@v9 with: close-issue-message: "This issue was closed because it hasn't been updated for 120 days. If it's still important, please reopen + comment and we'll gladly take another look!" - stale-issue-message: "This issue hasn't been updated in 90 days and will be closed after 120 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue." - days-before-stale: -1 + # stale-issue-message: "This issue hasn't been updated in 90 days and will be closed after 120 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue." + days-before-stale: 90 days-before-close: 90 days-before-pr-stale: -1 days-before-pr-close: -1 From d9d79b259ee4969d409b7497362d7038f8b4fc2d Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 20:22:52 -0800 Subject: [PATCH 14/21] mark stale --- .github/workflows/stale-issue-helper.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index 30e1ad773..9df56ba06 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -12,10 +12,10 @@ jobs: steps: - uses: actions/stale@v9 with: - close-issue-message: "This issue was closed because it hasn't been updated for 120 days. If it's still important, please reopen + comment and we'll gladly take another look!" - # stale-issue-message: "This issue hasn't been updated in 90 days and will be closed after 120 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue." + close-issue-message: "This issue was closed because it hasn't been updated for 100 days. If it's still important, please reopen + comment and we'll gladly take another look!" + stale-issue-message: "This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue." days-before-stale: 90 - days-before-close: 90 + days-before-close: 100 days-before-pr-stale: -1 days-before-pr-close: -1 stale-issue-label: "stale" From 899c9f5349dd5a5bc97a8177ffbc75715b364ac8 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 20:24:07 -0800 Subject: [PATCH 15/21] permissions --- .github/workflows/stale-issue-helper.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index 9df56ba06..f4f9d46c7 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -8,6 +8,9 @@ on: jobs: stale: + permissions: + issues: write + pull-requests: write runs-on: ubuntu-latest steps: - uses: actions/stale@v9 From 8ac5f1dc213d56cac004459d516cdca7abbfaaae Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 20:37:54 -0800 Subject: [PATCH 16/21] update name --- .github/workflows/stale-issue-helper.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index f4f9d46c7..6f4ddd0b3 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -1,4 +1,4 @@ -name: "Label stale issues and PRs" +name: "Label and close stale issues" on: push: branches: From dbfebd5a734fbb661d6e7009e3d31030c6de8445 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 20:40:28 -0800 Subject: [PATCH 17/21] update close --- .github/workflows/stale-issue-helper.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index 6f4ddd0b3..ce58d0933 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -15,10 +15,10 @@ jobs: steps: - uses: actions/stale@v9 with: - close-issue-message: "This issue was closed because it hasn't been updated for 100 days. If it's still important, please reopen + comment and we'll gladly take another look!" + close-issue-message: "This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!" stale-issue-message: "This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue." days-before-stale: 90 - days-before-close: 100 + days-before-close: 10 days-before-pr-stale: -1 days-before-pr-close: -1 stale-issue-label: "stale" From 937b74f380d5b49f57c71f5cce19f9bf843443ee Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 20:44:09 -0800 Subject: [PATCH 18/21] update title --- .github/workflows/stale-issue-helper.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index ce58d0933..38e2a0226 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -1,4 +1,4 @@ -name: "Label and close stale issues" +name: "Label / close stale issues" on: push: branches: From 3fd2685a610cbaf26c624165ee72bbec0551bf7c Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 20:47:06 -0800 Subject: [PATCH 19/21] increase ops --- .github/workflows/stale-issue-helper.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index 38e2a0226..c37a3aa1b 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -21,6 +21,7 @@ jobs: days-before-close: 10 days-before-pr-stale: -1 days-before-pr-close: -1 + operations-per-run: 100 stale-issue-label: "stale" stale-pr-label: "stale" exempt-issue-labels: "needs-triage,no-stale,high,highest" From 75387a18a0cbf710c117f066feaec83d0b36c635 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 20:48:47 -0800 Subject: [PATCH 20/21] increase ops --- .github/workflows/stale-issue-helper.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index c37a3aa1b..8f10ebcb5 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -21,7 +21,7 @@ jobs: days-before-close: 10 days-before-pr-stale: -1 days-before-pr-close: -1 - operations-per-run: 100 + operations-per-run: 2000 stale-issue-label: "stale" stale-pr-label: "stale" exempt-issue-labels: "needs-triage,no-stale,high,highest" From 58b5ad94cca789be64e91dad6f5b958d532d501c Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 2 Mar 2025 21:01:19 -0800 Subject: [PATCH 21/21] remove push trigger --- .github/workflows/stale-issue-helper.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/stale-issue-helper.yaml b/.github/workflows/stale-issue-helper.yaml index 8f10ebcb5..067f4c60f 100644 --- a/.github/workflows/stale-issue-helper.yaml +++ b/.github/workflows/stale-issue-helper.yaml @@ -1,8 +1,5 @@ name: "Label / close stale issues" on: - push: - branches: - - nate/stale-issue-helper schedule: - cron: "30 1 * * *" @@ -21,7 +18,7 @@ jobs: days-before-close: 10 days-before-pr-stale: -1 days-before-pr-close: -1 - operations-per-run: 2000 + operations-per-run: 1000 stale-issue-label: "stale" stale-pr-label: "stale" exempt-issue-labels: "needs-triage,no-stale,high,highest"