Просмотр исходного кода

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 часов назад
Родитель
Сommit
0f9066995e
1 измененных файлов с 2 добавлено и 0 удалено
  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.
             to include all the requested detail, and then ask that the issue be reopened.
           days-before-stale: 7
           days-before-stale: 7
           days-before-close: 7
           days-before-close: 7
+          days-before-pr-stale: -1
+          days-before-pr-close: -1
           only-issue-labels: 'status: revisions needed'
           only-issue-labels: 'status: revisions needed'
           operations-per-run: 100
           operations-per-run: 100
           remove-stale-when-updated: false
           remove-stale-when-updated: false