diff --git a/.github/labeler.yaml b/.github/labeler.yaml new file mode 100644 index 0000000000..94bc9074cd --- /dev/null +++ b/.github/labeler.yaml @@ -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/**'] + diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml new file mode 100644 index 0000000000..3387a24f2e --- /dev/null +++ b/.github/workflows/labeler.yaml @@ -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 \ No newline at end of file