This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add workflows for stale, resolved, need attention issues (#3)
- Loading branch information
1 parent
10ae5a3
commit 460a0df
Showing
3 changed files
with
65 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Close resolved issues | ||
|
||
on: | ||
schedule: | ||
- cron: "0 * * * *" | ||
|
||
jobs: | ||
stale: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: blackchoey/stale@releases/v1.2 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'This issue has been resolved and it will be closed if no further activity occurs within 3 days. Thank you for your contributions.' | ||
stale-issue-label: 'pending close' | ||
days-before-stale: 7 | ||
only-labels: 'resolved' | ||
last-updated-user-type: 'collaborator' | ||
days-before-close: 3 | ||
operations-per-run: 150 |
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,21 @@ | ||
name: Pickup issues that needs attention | ||
|
||
on: | ||
schedule: | ||
- cron: "0 * * * *" | ||
|
||
jobs: | ||
stale: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: blackchoey/stale@releases/v1.2 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'This issue has no recent activities, please take a look and provide updates for it.' | ||
stale-issue-label: 'need attention' | ||
days-before-stale: 3 | ||
last-updated-user-type: 'non-collaborator' | ||
days-before-close: 999 | ||
operations-per-run: 150 |
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,22 @@ | ||
name: Mark stale issues and close them | ||
|
||
on: | ||
schedule: | ||
- cron: "0 * * * *" | ||
|
||
jobs: | ||
stale: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: blackchoey/stale@releases/v1.2 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'This issue has been automatically marked as stale because it has no recent activities. It will be closed if no further activity occurs within 3 days. Thank you for your contributions.' | ||
stale-issue-label: 'stale' | ||
days-before-stale: 7 | ||
only-labels: 'need more info' | ||
last-updated-user-type: 'collaborator' | ||
days-before-close: 3 | ||
operations-per-run: 150 |