From 2287f7ad4f1852e596483b6f7589987233190b3b Mon Sep 17 00:00:00 2001 From: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com> Date: Sun, 8 Dec 2024 18:16:18 +0100 Subject: [PATCH] Update auto-close_stale_issues_and_pull-requests.yml only check for PRs not issues in inactive_pr action --- .../auto-close_stale_issues_and_pull-requests.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 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 db67d17f45..7d7a30a32f 100644 --- a/.github/workflows/auto-close_stale_issues_and_pull-requests.yml +++ b/.github/workflows/auto-close_stale_issues_and_pull-requests.yml @@ -25,13 +25,14 @@ jobs: uses: actions/stale@v9.0.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: -1 days-before-issue-stale: 90 days-before-issue-close: 20 days-before-pr-stale: -1 + day-before-pr-close: -1 operations-per-run: 100 # max num of ops per run stale-issue-label: 'Status: Stale' close-issue-label: 'Status: Auto-closing' - # trunk-ignore(yamllint/line-length) exempt-issue-labels: 'Status: Confirmed,Priority: High,Priority: Critical,Blocker,Type: Feature,no-auto-close' remove-stale-when-updated: true ascending: true @@ -51,9 +52,11 @@ jobs: uses: actions/stale@v9.0.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: -1 days-before-issue-stale: 20 days-before-issue-close: 20 days-before-pr-stale: -1 + day-before-pr-close: -1 operations-per-run: 30 # max num of ops per run stale-issue-label: 'Status: Stale' close-issue-label: 'Status: Auto-closing' @@ -77,9 +80,11 @@ jobs: uses: actions/stale@v9.0.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: -1 days-before-issue-stale: 190 days-before-issue-close: 60 days-before-pr-stale: -1 + day-before-pr-close: -1 operations-per-run: 30 # max num of ops per run stale-issue-label: 'Status: Stale' close-issue-label: 'Status: Auto-closing' @@ -106,9 +111,11 @@ jobs: uses: actions/stale@v9.0.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: -1 + days-before-issue-stale: -1 + day-before-issue-close: -1 days-before-pr-stale: 150 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'