From 41b63aa9f42fde1d19f926b9178c26d786e2a267 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 19 Nov 2025 19:34:01 +0000 Subject: [PATCH 1/5] Initial plan From 31dbf568074c2b379c7db5d12dff0e08350f5109 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 19 Nov 2025 19:38:48 +0000 Subject: [PATCH 2/5] Migrate from stale bot app to GitHub Actions stale action Co-authored-by: JaydipGabani <20255485+JaydipGabani@users.noreply.github.com> --- .github/stale.yml | 18 ------------------ .github/workflows/stale.yaml | 37 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 18 deletions(-) delete mode 100644 .github/stale.yml create mode 100644 .github/workflows/stale.yaml diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index 42bc717f0c2..00000000000 --- a/.github/stale.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 60 -# Number of days of inactivity before a stale issue is closed -daysUntilClose: 14 -# Issues with these labels will never be considered stale -exemptLabels: - - pinned - - security - - triaged -# Label to use when marking an issue as stale -staleLabel: stale -# Comment to post when marking an issue as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed in 14 days if no further activity occurs. Thank you - for your contributions. -# Comment to post when closing a stale issue. Set to `false` to disable -closeComment: false diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 00000000000..1d3083a8d90 --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,37 @@ +name: "Close stale issues and PRs" + +on: + schedule: + - cron: "0 0 * * *" # Run daily at midnight UTC + +permissions: + issues: write + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-22.04 + steps: + - name: Harden Runner + uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 + with: + egress-policy: audit + + - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 + with: + # Number of days of inactivity before an issue becomes stale + days-before-stale: 60 + # Number of days of inactivity before a stale issue is closed + days-before-close: 14 + # Label to use when marking an issue as stale + stale-issue-label: 'stale' + stale-pr-label: 'stale' + # Issues/PRs with these labels will never be considered stale + exempt-issue-labels: 'pinned,security,triaged' + exempt-pr-labels: 'pinned,security,triaged' + # Comment to post when marking an issue as stale + stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.' + stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.' + # Disable close comments (set to empty string) + close-issue-message: '' + close-pr-message: '' From 7477b8690c1c273873f1bfe35732e9f182f50010 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 20 Nov 2025 02:33:51 +0000 Subject: [PATCH 3/5] Update stale action to v10.1.0 Co-authored-by: JaydipGabani <20255485+JaydipGabani@users.noreply.github.com> --- .github/workflows/stale.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 1d3083a8d90..4f90192aacb 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -17,7 +17,7 @@ jobs: with: egress-policy: audit - - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 + - uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0 with: # Number of days of inactivity before an issue becomes stale days-before-stale: 60 From 0220c101b0e374491f999042c53dc956044ef83f Mon Sep 17 00:00:00 2001 From: Jaydip Gabani Date: Tue, 25 Nov 2025 16:54:26 +0000 Subject: [PATCH 4/5] updating inacticity days to 90 before marking it stale Signed-off-by: Jaydip Gabani --- .github/workflows/stale.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 4f90192aacb..305905e7838 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -19,19 +19,13 @@ jobs: - uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0 with: - # Number of days of inactivity before an issue becomes stale - days-before-stale: 60 - # Number of days of inactivity before a stale issue is closed + days-before-stale: 90 days-before-close: 14 - # Label to use when marking an issue as stale stale-issue-label: 'stale' stale-pr-label: 'stale' - # Issues/PRs with these labels will never be considered stale exempt-issue-labels: 'pinned,security,triaged' exempt-pr-labels: 'pinned,security,triaged' - # Comment to post when marking an issue as stale stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.' stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.' - # Disable close comments (set to empty string) close-issue-message: '' close-pr-message: '' From bee0a6d65b349c7c8d6af6d9f60a9a1493480a5b Mon Sep 17 00:00:00 2001 From: Jaydip Gabani Date: Wed, 26 Nov 2025 23:04:34 +0000 Subject: [PATCH 5/5] marking 60 days as stale Signed-off-by: Jaydip Gabani --- .github/workflows/stale.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 305905e7838..ae796d6d569 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -19,7 +19,7 @@ jobs: - uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0 with: - days-before-stale: 90 + days-before-stale: 60 days-before-close: 14 stale-issue-label: 'stale' stale-pr-label: 'stale'