-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow to triage new issues and pull requests (#304)
Add workflow to triage new issues and pull requests This will label new issues and pull requests with the needs_triage label in order to help with our new triage process. Reviewed-by: David Shrewsbury <None> Reviewed-by: None <None>
- Loading branch information
Showing
2 changed files
with
37 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,11 @@ | ||
needs_triage: | ||
- '.*' | ||
- '.*/*' | ||
- '*' | ||
- '*/*' | ||
|
||
docs: | ||
- docs/* | ||
|
||
test: | ||
- 'test/*' |
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,26 @@ | ||
name: Triage | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
issues: write | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
pull_request: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
name: Label | ||
|
||
steps: | ||
- name: Apply labels | ||
uses: actions/labeler@v3 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |