CI: auto label PR's (#29842)
* auto label
* on pull request
* checkout
* yaml not yml
* recursive here too
* start with just car stuff and CI
* require all
* no fps
* add translations and fix CI
old-commit-hash: aa52cf3e81
test-msgs
parent
fc4972539f
commit
693183a946
2 changed files with 60 additions and 0 deletions
@ -0,0 +1,42 @@ |
||||
CI / testing: |
||||
- all: ['.github/**'] |
||||
- all: ['**/test_*'] |
||||
|
||||
car: |
||||
- all: ['selfdrive/car/**'] |
||||
|
||||
body: |
||||
- all: ['selfdrive/car/body/*'] |
||||
chrysler: |
||||
- all: ['selfdrive/car/chrysler/*'] |
||||
ford: |
||||
- all: ['selfdrive/car/ford/*'] |
||||
gm: |
||||
- all: ['selfdrive/car/gm/*'] |
||||
honda: |
||||
- all: ['selfdrive/car/honda/*'] |
||||
hyundai: |
||||
- all: ['selfdrive/car/hyundai/*'] |
||||
mazda: |
||||
- all: ['selfdrive/car/mazda/*'] |
||||
nissan: |
||||
- all: ['selfdrive/car/nissan/*'] |
||||
subaru: |
||||
- all: ['selfdrive/car/subaru/*'] |
||||
tesla: |
||||
- all: ['selfdrive/car/tesla/*'] |
||||
toyota: |
||||
- all: ['selfdrive/car/toyota/*'] |
||||
volkswagen: |
||||
- all: ['selfdrive/car/volkswagen/*'] |
||||
|
||||
simulation: |
||||
- all: ['tools/sim/**'] |
||||
ui: |
||||
- all: ['selfdrive/ui/**'] |
||||
tools: |
||||
- all: ['tools/**'] |
||||
|
||||
multilanguage: |
||||
- all: ['selfdrive/ui/translations/**'] |
||||
|
@ -0,0 +1,18 @@ |
||||
name: "Pull Request Labeler" |
||||
on: |
||||
pull_request: |
||||
|
||||
jobs: |
||||
labeler: |
||||
permissions: |
||||
contents: read |
||||
pull-requests: write |
||||
runs-on: ubuntu-latest |
||||
steps: |
||||
- uses: actions/checkout@v3 |
||||
with: |
||||
submodules: false |
||||
- uses: actions/labeler@v4 |
||||
with: |
||||
dot: true |
||||
configuration-path: .github/labeler.yaml |
Loading…
Reference in new issue