From 19f18a0d4837846ea7f1cf07ab5cc97c08f361c4 Mon Sep 17 00:00:00 2001 From: sethkfman Date: Sat, 8 Feb 2025 17:43:32 -0700 Subject: [PATCH 1/6] apply labeling ruleset --- .github/workflows/stale-issue-pr.yml | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/stale-issue-pr.yml diff --git a/.github/workflows/stale-issue-pr.yml b/.github/workflows/stale-issue-pr.yml new file mode 100644 index 00000000..0da63aca --- /dev/null +++ b/.github/workflows/stale-issue-pr.yml @@ -0,0 +1,29 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '30 * * * *' + +jobs: + stale: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@72afbce2b0dbd1d903bb142cebe2d15dc307ae57 + with: + stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 90 days. Thank you for your contributions.' + close-issue-message: 'This issue was closed because there has been no follow activity in 90 days. If you feel this was closed in error please provide evidence on the current production app in a new issue or comment in the existing issue to a maintainer. Thank you for your contributions.' + stale-issue-label: 'stale' + only-issue-labels: 'type-bug' + exempt-issue-labels: 'type-security, feature-request, needs-triage, needs-reproduction, needs-information' + days-before-issue-stale: 90 + days-before-issue-close: 90 + stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions.' + stale-pr-label: 'stale' + exempt-pr-labels: 'work-in-progress, external-contributor' + close-pr-message: 'This PR was closed because there has been no follow up activity in 7 days. Thank you for your contributions.' + days-before-pr-stale: 90 + days-before-pr-close: 7 + operations-per-run: 200 + \ No newline at end of file From 6a089b940f23f3971d44605aff80222dca156919 Mon Sep 17 00:00:00 2001 From: sethkfman Date: Thu, 13 Mar 2025 16:49:55 -0600 Subject: [PATCH 2/6] remove needs-information from the exemption --- .github/workflows/stale-issue-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale-issue-pr.yml b/.github/workflows/stale-issue-pr.yml index 0da63aca..1382731b 100644 --- a/.github/workflows/stale-issue-pr.yml +++ b/.github/workflows/stale-issue-pr.yml @@ -16,7 +16,7 @@ jobs: close-issue-message: 'This issue was closed because there has been no follow activity in 90 days. If you feel this was closed in error please provide evidence on the current production app in a new issue or comment in the existing issue to a maintainer. Thank you for your contributions.' stale-issue-label: 'stale' only-issue-labels: 'type-bug' - exempt-issue-labels: 'type-security, feature-request, needs-triage, needs-reproduction, needs-information' + exempt-issue-labels: 'type-security, feature-request, needs-triage, needs-reproduction' days-before-issue-stale: 90 days-before-issue-close: 90 stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions.' From 5103934bfb85723814d2b673bea634db77e2a69b Mon Sep 17 00:00:00 2001 From: sethkfman Date: Thu, 13 Mar 2025 16:53:03 -0600 Subject: [PATCH 3/6] formatting --- .github/workflows/stale-issue-pr.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/stale-issue-pr.yml b/.github/workflows/stale-issue-pr.yml index 1382731b..60cc9de1 100644 --- a/.github/workflows/stale-issue-pr.yml +++ b/.github/workflows/stale-issue-pr.yml @@ -26,4 +26,3 @@ jobs: days-before-pr-stale: 90 days-before-pr-close: 7 operations-per-run: 200 - \ No newline at end of file From 37952aa60b9c8368c0928623c1af320474f114f9 Mon Sep 17 00:00:00 2001 From: sethkfman <10342624+sethkfman@users.noreply.github.com> Date: Wed, 2 Apr 2025 12:40:09 -0600 Subject: [PATCH 4/6] Update .github/workflows/stale-issue-pr.yml Co-authored-by: Desi McAdam --- .github/workflows/stale-issue-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale-issue-pr.yml b/.github/workflows/stale-issue-pr.yml index 60cc9de1..0a9b9f2d 100644 --- a/.github/workflows/stale-issue-pr.yml +++ b/.github/workflows/stale-issue-pr.yml @@ -16,7 +16,7 @@ jobs: close-issue-message: 'This issue was closed because there has been no follow activity in 90 days. If you feel this was closed in error please provide evidence on the current production app in a new issue or comment in the existing issue to a maintainer. Thank you for your contributions.' stale-issue-label: 'stale' only-issue-labels: 'type-bug' - exempt-issue-labels: 'type-security, feature-request, needs-triage, needs-reproduction' + exempt-issue-labels: 'type-security, feature-request, needs-triage' days-before-issue-stale: 90 days-before-issue-close: 90 stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions.' From 1f163df8967b7add64e87744ee1893712f97fb1c Mon Sep 17 00:00:00 2001 From: sethkfman Date: Thu, 3 Apr 2025 14:18:38 -0600 Subject: [PATCH 5/6] added needs-information, needs-reproduction and any-of-issue-labels --- .github/workflows/stale-issue-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale-issue-pr.yml b/.github/workflows/stale-issue-pr.yml index 0a9b9f2d..e140d5d8 100644 --- a/.github/workflows/stale-issue-pr.yml +++ b/.github/workflows/stale-issue-pr.yml @@ -15,7 +15,7 @@ jobs: stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 90 days. Thank you for your contributions.' close-issue-message: 'This issue was closed because there has been no follow activity in 90 days. If you feel this was closed in error please provide evidence on the current production app in a new issue or comment in the existing issue to a maintainer. Thank you for your contributions.' stale-issue-label: 'stale' - only-issue-labels: 'type-bug' + any-of-issue-labels: 'type-bug, needs-information, needs-reproduction' exempt-issue-labels: 'type-security, feature-request, needs-triage' days-before-issue-stale: 90 days-before-issue-close: 90 From 3aa05b5c8598987b3d8788ef35d6cd86b049c902 Mon Sep 17 00:00:00 2001 From: sethkfman <10342624+sethkfman@users.noreply.github.com> Date: Wed, 16 Apr 2025 11:11:25 -0600 Subject: [PATCH 6/6] Update .github/workflows/stale-issue-pr.yml reduced stale labeling to 30 days Co-authored-by: jvbriones <1674192+jvbriones@users.noreply.github.com> --- .github/workflows/stale-issue-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale-issue-pr.yml b/.github/workflows/stale-issue-pr.yml index e140d5d8..3addc060 100644 --- a/.github/workflows/stale-issue-pr.yml +++ b/.github/workflows/stale-issue-pr.yml @@ -17,7 +17,7 @@ jobs: stale-issue-label: 'stale' any-of-issue-labels: 'type-bug, needs-information, needs-reproduction' exempt-issue-labels: 'type-security, feature-request, needs-triage' - days-before-issue-stale: 90 + days-before-issue-stale: 30 days-before-issue-close: 90 stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions.' stale-pr-label: 'stale'