mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 21:14:01 +08:00
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
This commit is contained in:
42
.github/labeler.yaml
vendored
Normal file
42
.github/labeler.yaml
vendored
Normal file
@@ -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/**']
|
||||
|
||||
18
.github/workflows/labeler.yaml
vendored
Normal file
18
.github/workflows/labeler.yaml
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user