-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PR labeler with pull_request_target (#1338)
* Add PR labeler with pull_request_target
- Loading branch information
Showing
2 changed files
with
28 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,16 @@ | ||
# changes to documentation generation | ||
"area/doc-gen": doc/**/* | ||
|
||
# changes to the core Go cobra lib package | ||
"area/lib": ./*.go | ||
|
||
# changes to the Cobra CLI | ||
"area/cli": cobra/**/* | ||
|
||
# changes to Github workflows | ||
"area/github": .github/**/* | ||
|
||
# changes to shell completions | ||
"area/*sh completion": | ||
- ./*completions* | ||
|
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,12 @@ | ||
name: "Pull Request Labeler" | ||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v3 | ||
with: | ||
repo-token: "${{ github.token }}" | ||
|