-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added label new issues.yml and stale.yml (#1034)
- Loading branch information
1 parent
6ebdcc2
commit 23b460d
Showing
2 changed files
with
32 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,14 @@ | ||
name: Label New Issues | ||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
add-label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Add 'needs response' label to new issues | ||
uses: actions-ecosystem/action-add-labels@v1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
labels: 'needs response' |
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,18 @@ | ||
name: Close Stale Issues | ||
on: | ||
schedule: | ||
- cron: '30 8 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'This issue has been automatically marked as stale due to inactivity and will be closed in 7 days if no further activity occurs.' | ||
close-issue-message: 'This issue was closed due to inactivity. Please reopen if you still encounter this problem or have more information to add.' | ||
days-before-stale: 14 | ||
days-before-close: 7 | ||
stale-issue-label: 'stale' | ||
exempt-issue-labels: 'do not stale, needs response' |