Update auto-close_stale_issues_and_pull-requests.yml
only check for PRs not issues in inactive_pr action
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user