-
Notifications
You must be signed in to change notification settings - Fork 498
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4833 from PowerShell/andyleejordan/stale-action
Setup ``actions/stale`` for issue management
- Loading branch information
Showing
4 changed files
with
40 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Close Stale Issues | ||
|
||
permissions: | ||
issues: write | ||
|
||
on: | ||
schedule: | ||
- cron: '0 * * * *' # Every hour on the hour | ||
|
||
jobs: | ||
stale-resolved-issues: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v8 | ||
name: Close issues labeled as resolved after 1 day of inactivity | ||
with: | ||
any-of-labels: "Resolution-Answered,Resolution-Duplicate,Resolution-External, Resolution-Fixed,Resolution-Inactive" | ||
days-before-stale: 1 | ||
days-before-close: 0 | ||
close-issue-reason: completed | ||
close-issue-message: "This issue has been marked as resolved and has not had any activity for **1 day**. It has been closed for housekeeping purposes." | ||
debug-only: true | ||
stale-feedback-issues: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v8 | ||
name: Close issues labeled as needs feedback after 1 week of inactivity | ||
with: | ||
any-of-labels: "Needs: Author Feedback,Needs: Fix Verification,Needs: Repro Info" | ||
days-before-stale: 2 | ||
days-before-close: 5 | ||
labels-to-remove-when-stale: "Needs: Maintainer Attention" | ||
labels-to-add-when-unstale: "Needs: Maintainer Attention" | ||
labels-to-remove-when-unstale: "Needs: Author Feedback,Needs: Fix Verification,Needs: Repro Info" | ||
close-issue-reason: completed | ||
close-issue-message: "This issue has been marked as needing feedback and has not had any activity for **1 daweekys**. It has been closed for housekeeping purposes." | ||
debug-only: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: "CodeQL" | ||
name: Run CodeQL Analysis | ||
|
||
on: | ||
push: | ||
|