From 8ddede12333f88c204ac3b3e3129e43b2e9282eb Mon Sep 17 00:00:00 2001 From: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com> Date: Sun, 8 Dec 2024 17:34:58 +0100 Subject: [PATCH] Update auto-close_stale_issues_and_pull-requests.yml Exception for Issues on PR action --- .../auto-close_stale_issues_and_pull-requests.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-close_stale_issues_and_pull-requests.yml b/.github/workflows/auto-close_stale_issues_and_pull-requests.yml index 98c7f8e2c9..db67d17f45 100644 --- a/.github/workflows/auto-close_stale_issues_and_pull-requests.yml +++ b/.github/workflows/auto-close_stale_issues_and_pull-requests.yml @@ -26,7 +26,8 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-issue-stale: 90 - days-before-close: 20 + days-before-issue-close: 20 + days-before-pr-stale: -1 operations-per-run: 100 # max num of ops per run stale-issue-label: 'Status: Stale' close-issue-label: 'Status: Auto-closing' @@ -51,7 +52,8 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-issue-stale: 20 - days-before-close: 20 + days-before-issue-close: 20 + days-before-pr-stale: -1 operations-per-run: 30 # max num of ops per run stale-issue-label: 'Status: Stale' close-issue-label: 'Status: Auto-closing' @@ -76,7 +78,8 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-issue-stale: 190 - days-before-close: 60 + days-before-issue-close: 60 + days-before-pr-stale: -1 operations-per-run: 30 # max num of ops per run stale-issue-label: 'Status: Stale' close-issue-label: 'Status: Auto-closing' @@ -104,7 +107,8 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-pr-stale: 150 - days-before-close: 90 + days-before-pr-close: 90 + days-before-issue-stale: -1 operations-per-run: 30 # max num of ops per run stale-pr-label: 'Status: Stale' close-pr-label: 'Status: Auto-closing'