Skip to content

Commit

Permalink
Add PR labeler with pull_request_target
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmcb committed Feb 5, 2021
1 parent 1d71ff0 commit 0380d61
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/labeler.yml
@@ -0,0 +1,13 @@
# changes to documentation
"area/documentation": doc/**/*

# changes to the core lib package
"area/lib": ./*.go

# changes to the zsh completion
"area/*sh completion":
- ./zsh_*
- ./shell_*
- ./powershell_*
- ./bash_*

12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
@@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 0380d61

Please sign in to comment.