From d737cefcc41e9d2b96c460865706d05304cf5c2c Mon Sep 17 00:00:00 2001 From: Sam Ko Date: Fri, 10 Jan 2025 12:57:37 -0800 Subject: [PATCH] chore(github): ignore PRs in for stale issue bot (#74767) ## Why? We have to explicitly give a `-1` for `days-before-pr-close` and `days-before-pr-stale` in order to ignore sifting through PRs. - https://github.com/vercel/next.js/actions/runs/12716117689/job/35449724177#step:2:376 --- .github/workflows/issue_stale.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/issue_stale.yml b/.github/workflows/issue_stale.yml index e4e67f56a584b..5dadf57796354 100644 --- a/.github/workflows/issue_stale.yml +++ b/.github/workflows/issue_stale.yml @@ -18,6 +18,8 @@ jobs: ascending: true days-before-issue-stale: 730 # issues with no activity in over two years days-before-issue-close: 7 + days-before-pr-close: -1 + days-before-pr-stale: -1 remove-issue-stale-when-updated: true stale-issue-label: 'stale' stale-issue-message: 'This issue has been automatically marked as stale due to two years of inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you.'