This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 33089255c9a Mark pending-response PRs stale after 7 days (#60604)
33089255c9a is described below

commit 33089255c9af4eff2517fa99c4e15753d2ce35f6
Author: Kaxil Naik <[email protected]>
AuthorDate: Thu Jan 15 17:46:44 2026 +0000

    Mark pending-response PRs stale after 7 days (#60604)
    
    PRs with the pending-response label now go stale after 7 days instead
    of 45 days. When the author responds or pushes, the pending-response
    and stale labels are automatically removed.
---
 .github/workflows/stale.yml | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 5724a17314a..05d91121df7 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -29,6 +29,7 @@ jobs:
   stale:
     runs-on: ["ubuntu-22.04"]
     steps:
+      # Handle all PRs (45-day stale) and pending-response issues (14-day 
stale)
       - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639  # v9.1.0
         with:
           stale-pr-message: >
@@ -37,7 +38,7 @@ jobs:
             for your contributions.
           days-before-pr-stale: 45
           days-before-pr-close: 5
-          exempt-pr-labels: 'pinned,security'
+          exempt-pr-labels: 'pinned,security,pending-response'
           only-issue-labels: 'pending-response'
           remove-stale-when-updated: true
           days-before-issue-stale: 14
@@ -48,3 +49,20 @@ jobs:
             activity occurs from the issue author.
           close-issue-message: >
             This issue has been closed because it has not received response 
from the issue author.
+      # Handle PRs with pending-response label (7-day stale, faster response 
expected)
+      - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639  # v9.1.0
+        with:
+          only-pr-labels: 'pending-response'
+          days-before-pr-stale: 7
+          days-before-pr-close: 7
+          stale-pr-message: >
+            This pull request has been automatically marked as stale because 
the author has not
+            responded to a request for more information. It will be closed in 
7 days if no further
+            activity occurs. Thank you for your contributions.
+          close-pr-message: >
+            This pull request has been closed because the author has not 
responded to a request
+            for more information.
+          labels-to-remove-when-unstale: 'pending-response,stale'
+          remove-stale-when-updated: true
+          days-before-issue-stale: -1
+          days-before-issue-close: -1

Reply via email to