Browse Source

chore(ci): Exclude PRs from incomplete issue auto-close workflow

Configure stale action to skip pull requests by setting PR staleness
thresholds to -1. Ensures the workflow only processes issues labeled
"status: revisions needed" without affecting open PRs.

Fixes #23215
Martin Hauser 21 giờ trước cách đây
mục cha
commit
0f9066995e
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      .github/workflows/close-incomplete-issues.yml

+ 2 - 0
.github/workflows/close-incomplete-issues.yml

@@ -23,6 +23,8 @@ jobs:
             to include all the requested detail, and then ask that the issue be reopened.
           days-before-stale: 7
           days-before-close: 7
+          days-before-pr-stale: -1
+          days-before-pr-close: -1
           only-issue-labels: 'status: revisions needed'
           operations-per-run: 100
           remove-stale-when-updated: false