-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub Action to automatically label PRs (#871)
Adds "needs code review" and "needs testing" to all new PRs Co-authored-by: ASpoonPlaysGames <[email protected]>
- Loading branch information
1 parent
62b9215
commit 05837fa
Showing
2 changed files
with
23 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,9 @@ | ||
# Add 'needs code review' label to any changes within the entire repository | ||
needs code review: | ||
- changed-files: | ||
- any-glob-to-any-file: '**' | ||
|
||
# Add 'needs testing' label to any changes within the entire repository | ||
needs testing: | ||
- changed-files: | ||
- any-glob-to-any-file: '**' |
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: Auto-Labeler | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
labeler: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v5 |