Skip to content

Commit 47ea0ca

Browse files
authored
feat: Add exempt label (#207)
* feat: Add Signed-off-by: oliver könig <[email protected]> * f Signed-off-by: oliver könig <[email protected]> --------- Signed-off-by: oliver könig <[email protected]>
1 parent 484c4aa commit 47ea0ca

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/_close_inactive_issue_pr.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ on:
33
schedule:
44
- cron: "30 1 * * *"
55
workflow_call:
6+
inputs:
7+
exempt-pr-labels:
8+
description: "Comma-separated list of PR labels to exempt from stale checks"
9+
required: false
10+
default: "community-request"
11+
type: string
612

713
jobs:
814
close-issues:
@@ -15,12 +21,13 @@ jobs:
1521
with:
1622
operations-per-run: 100
1723
days-before-issue-stale: 30
18-
days-before-issue-close: 7
24+
days-before-issue-close: 7
1925
stale-issue-label: "stale"
2026
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days."
2127
close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale."
22-
days-before-pr-stale: 14
23-
days-before-pr-close: 7
28+
days-before-pr-stale: 14
29+
days-before-pr-close: 7
2430
stale-pr-message: "This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days."
2531
close-pr-message: "This PR was closed because it has been inactive for 7 days since being marked as stale."
2632
repo-token: ${{ secrets.GITHUB_TOKEN }}
33+
exempt-pr-labels: ${{ inputs.exempt-pr-labels }}

0 commit comments

Comments
 (0)