From 15becb8df21928fd4cea983b946c84443680b4eb Mon Sep 17 00:00:00 2001 From: Florian Metz Date: Wed, 25 Dec 2024 21:07:22 +0100 Subject: [PATCH] feat: enhance stale issue and PR management in GitHub Actions - Added configuration for marking pull requests as stale after 14 days of inactivity. - Introduced messages for stale and closed pull requests to improve user communication. - Updated labels for stale issues and pull requests to better categorize them. This update aims to streamline the management of stale issues and pull requests, ensuring timely follow-ups and closures. --- .github/workflows/stale.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 143a7e3f42e6..4545046b86fc 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -13,6 +13,7 @@ jobs: uses: actions/stale@v9 with: days-before-stale: 60 + days-before-pr-stale: 14 stale-issue-message: | This issue has been marked as stale because it has been inactive for over 60 days. If this is still relevant, please leave a comment to let us know. @@ -20,6 +21,13 @@ jobs: close-issue-message: | This issue has been automatically closed due to inactivity for over 60 days. If you believe this issue is still relevant, feel free to reopen it or create a new one with updated information. - stale-issue-label: inactive - only-labels: bug + stale-pr-message: | + This PR has been marked as stale because it has been inactive for over 14 days. + If you believe this PR is still relevant, please leave a comment to let us know. + Otherwise, this PR may be closed automatically in 7 days. + close-pr-message: | + This PR has been automatically closed due to inactivity for over 14 days. + If you believe this PR is still relevant, feel free to reopen it or create a new one with updated information. + stale-pr-label: stale + only-issue-labels: bug debug-only: true