-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cbff462
commit 001c664
Showing
3 changed files
with
51 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: '💬 Handle new issue comment' | ||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
handle_new_issue_comment: | ||
runs-on: ubuntu-latest | ||
name: Handle new issue comment | ||
steps: | ||
- name: Toggle awaiting-reply label | ||
uses: jd-solanki/gh-action-toggle-awaiting-reply-label@v2.1.2 | ||
with: | ||
label: awaiting-reply |
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,19 @@ | ||
name: 'Handle new issue' | ||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
handle_new_issue: | ||
runs-on: ubuntu-latest | ||
name: Handle new issue | ||
steps: | ||
- name: Find duplicates | ||
uses: wow-actions/potential-duplicates@v1.0.8 | ||
with: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
label: duplicate | ||
comment: > | ||
Potential duplicates: {{#issues}} | ||
- #{{ number }} _({{ accuracy }}% Match)_ | ||
{{/issues}} |
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 and PRs' | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v4 | ||
with: | ||
stale-issue-message: 'This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you for raising the concern.' | ||
close-issue-message: 'This issue has been automatically marked as closed because it has no recent activity.' | ||
stale-issue-label: 'stale' | ||
only-labels: 'awaiting-reply' | ||
exempt-issue-labels: 'triage' | ||
days-before-stale: 7 | ||
days-before-close: 7 |