Skip to content

Commit

Permalink
ci: add automatic PR labeler
Browse files Browse the repository at this point in the history
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
  • Loading branch information
ktro2828 committed Apr 25, 2024
1 parent 16a00ae commit e107307
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"component:control":
- "*control*"
"component:localization":
- "*localization*"
"component:map":
- "*map*"
"component:perception":
- "*perception*"
"component:planning":
- "*planning*"
"component:sensing":
- "*sensing*"
"component:simulation":
- "*simulator*"
"component:system":
- "*system*"
16 changes: 16 additions & 0 deletions .github/workflows/pr-labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: pr-labeler
on:
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler.yaml

0 comments on commit e107307

Please sign in to comment.