From 972ed4df31905535a7f5006ad796e14280136617 Mon Sep 17 00:00:00 2001 From: Jay DeLuca Date: Mon, 2 Mar 2026 08:10:33 -0500 Subject: [PATCH 1/4] Add stale automation Signed-off-by: Jay DeLuca --- .../issue-management-stale-action.yml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .github/workflows/issue-management-stale-action.yml diff --git a/.github/workflows/issue-management-stale-action.yml b/.github/workflows/issue-management-stale-action.yml new file mode 100644 index 000000000..b44f100b4 --- /dev/null +++ b/.github/workflows/issue-management-stale-action.yml @@ -0,0 +1,55 @@ +name: Issue management - run stale action + +on: + schedule: + # hourly at minute 23 + - cron: "23 * * * *" + workflow_dispatch: + +permissions: + contents: read + +jobs: + stale: + permissions: + contents: read + actions: write # because actions/stale deletes its old cache before saving new one + issues: write # for actions/stale to close stale issues + pull-requests: write # for actions/stale to close stale PRs + runs-on: ubuntu-latest + steps: + # Handle stale PRs + # - After 120 days inactive: Adds "stale" label + warning comment + # - After 30 more days inactive: Closes + - uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0 + with: + days-before-issue-stale: -1 + days-before-issue-close: -1 + days-before-pr-stale: 120 + days-before-pr-close: 30 + stale-pr-label: stale + stale-pr-message: > + This PR has been marked as stale due to 120 days of inactivity. + It will be automatically closed if there is no further activity over the next 30 days. + close-pr-message: > + This PR was automatically closed due to lack of activity after being marked stale. Feel + free to reopen if you would like to continue working on it. + operations-per-run: 1000 + + # Handle stale issues + # - After 360 days (12 months) inactive: Adds "stale" label + warning comment + # - After 30 more days inactive: Closes + - uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0 + with: + days-before-issue-stale: 360 + days-before-issue-close: 30 + days-before-pr-stale: -1 + days-before-pr-close: -1 + stale-issue-label: stale + stale-issue-message: > + This issue has been marked as stale due to 12 months of inactivity. + It will be automatically closed if there is no further activity over the next 30 days. + close-issue-message: > + This issue was automatically closed due to lack of activity after being marked stale. Feel + free to reopen if you would like to continue working on it. + operations-per-run: 1000 From 133fd14a705a3115cc9f60769638d37b7bb0c507 Mon Sep 17 00:00:00 2001 From: Jay DeLuca Date: Mon, 2 Mar 2026 08:28:59 -0500 Subject: [PATCH 2/4] updates Signed-off-by: Jay DeLuca --- .github/workflows/issue-management-stale-action.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/issue-management-stale-action.yml b/.github/workflows/issue-management-stale-action.yml index b44f100b4..fed872279 100644 --- a/.github/workflows/issue-management-stale-action.yml +++ b/.github/workflows/issue-management-stale-action.yml @@ -1,3 +1,4 @@ +--- name: Issue management - run stale action on: @@ -6,8 +7,11 @@ on: - cron: "23 * * * *" workflow_dispatch: -permissions: - contents: read +permissions: {} + +concurrency: + group: "stale-issues-and-prs" + cancel-in-progress: false jobs: stale: @@ -50,6 +54,6 @@ jobs: This issue has been marked as stale due to 12 months of inactivity. It will be automatically closed if there is no further activity over the next 30 days. close-issue-message: > - This issue was automatically closed due to lack of activity after being marked stale. Feel - free to reopen if you would like to continue working on it. + This issue was automatically closed due to lack of activity after being marked stale. + Feel free to reopen if you would like to continue working on it. operations-per-run: 1000 From 66b9cc2fc8450d8772661c2e02b812560f9b457f Mon Sep 17 00:00:00 2001 From: Jay DeLuca Date: Wed, 4 Mar 2026 06:14:45 -0500 Subject: [PATCH 3/4] Update .github/workflows/issue-management-stale-action.yml Signed-off-by: Jay DeLuca --- .github/workflows/issue-management-stale-action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue-management-stale-action.yml b/.github/workflows/issue-management-stale-action.yml index fed872279..b6e2087b0 100644 --- a/.github/workflows/issue-management-stale-action.yml +++ b/.github/workflows/issue-management-stale-action.yml @@ -4,7 +4,7 @@ name: Issue management - run stale action on: schedule: # hourly at minute 23 - - cron: "23 * * * *" + - cron: "23 6 * * *" workflow_dispatch: permissions: {} From 904c7ef723bcde23df607a141c535484743ae69b Mon Sep 17 00:00:00 2001 From: Jay DeLuca Date: Wed, 4 Mar 2026 06:31:21 -0500 Subject: [PATCH 4/4] lint Signed-off-by: Jay DeLuca --- .github/workflows/issue-management-stale-action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/issue-management-stale-action.yml b/.github/workflows/issue-management-stale-action.yml index b6e2087b0..495904d22 100644 --- a/.github/workflows/issue-management-stale-action.yml +++ b/.github/workflows/issue-management-stale-action.yml @@ -18,8 +18,8 @@ jobs: permissions: contents: read actions: write # because actions/stale deletes its old cache before saving new one - issues: write # for actions/stale to close stale issues - pull-requests: write # for actions/stale to close stale PRs + issues: write # for actions/stale to close stale issues + pull-requests: write # for actions/stale to close stale PRs runs-on: ubuntu-latest steps: # Handle stale PRs