Skip to content

Commit

Permalink
GHA: Don't close untriaged or assigned issues automatically
Browse files Browse the repository at this point in the history
In addition, shorten `days-before-stale` for triaged issues.

Signed-off-by: Takuro Ashie <[email protected]>
  • Loading branch information
ashie committed Mar 30, 2023
1 parent 1129f9f commit 0f1cedc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Bug Report
description: Create a report with a procedure for reproducing the bug
labels: "waiting-for-triage"
body:
- type: markdown
attributes:
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Feature request
description: Suggest an idea for this project
labels: "waiting-for-triage"
body:
- type: markdown
attributes:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/stale-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ jobs:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 90
days-before-stale: 30
days-before-close: 30
stale-issue-message: "This issue has been automatically marked as stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days"
stale-issue-message: "This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 30 days"
stale-pr-message: "This PR has been automatically marked as stale because it has been open 90 days with no activity. Remove stale label or comment or this PR will be closed in 30 days"
close-issue-message: "This issue was automatically closed because of stale in 30 days"
close-pr-message: "This PR was automatically closed because of stale in 30 days"
stale-pr-label: "stale"
stale-issue-label: "stale"
exempt-issue-labels: "bug,enhancement,feature request,pending,work_in_progress,v1,v2"
exempt-pr-labels: "bug,enhancement,feature request,pending,work_in_progress,v1,v2"
exempt-issue-labels: "waiting-for-triage,bug,enhancement,feature request,pending,work_in_progress,v1,v2"
exempt-pr-labels: "waiting-for-triage,bug,enhancement,feature request,pending,work_in_progress,v1,v2"
exempt-all-assignees: true
exempt-all-milestones: true

0 comments on commit 0f1cedc

Please sign in to comment.