From f9a60072f7b5c78723a48634807b2f7304c2d663 Mon Sep 17 00:00:00 2001 From: Justin Newberry Date: Mon, 11 Sep 2023 23:04:53 -0700 Subject: [PATCH] CI: never remove existing labels (#29885) --- .github/labeler.yaml | 57 ++++++++++++++++++++++------------ .github/workflows/labeler.yaml | 2 +- 2 files changed, 39 insertions(+), 20 deletions(-) diff --git a/.github/labeler.yaml b/.github/labeler.yaml index 94bc9074cd..4c4d371d43 100644 --- a/.github/labeler.yaml +++ b/.github/labeler.yaml @@ -1,42 +1,61 @@ CI / testing: - - all: ['.github/**'] - - all: ['**/test_*'] + - all: + - changed-files: ['.github/**'] + - all: + - changed-files: ['**/test_*'] car: - - all: ['selfdrive/car/**'] + - all: + - changed-files: ['selfdrive/car/**'] body: - - all: ['selfdrive/car/body/*'] + - all: + - changed-files: ['selfdrive/car/body/*'] chrysler: - - all: ['selfdrive/car/chrysler/*'] + - all: + - changed-files: ['selfdrive/car/chrysler/*'] ford: - - all: ['selfdrive/car/ford/*'] + - all: + - changed-files: ['selfdrive/car/ford/*'] gm: - - all: ['selfdrive/car/gm/*'] + - all: + - changed-files: ['selfdrive/car/gm/*'] honda: - - all: ['selfdrive/car/honda/*'] + - all: + - changed-files: ['selfdrive/car/honda/*'] hyundai: - - all: ['selfdrive/car/hyundai/*'] + - all: + - changed-files: ['selfdrive/car/hyundai/*'] mazda: - - all: ['selfdrive/car/mazda/*'] + - all: + - changed-files: ['selfdrive/car/mazda/*'] nissan: - - all: ['selfdrive/car/nissan/*'] + - all: + - changed-files: ['selfdrive/car/nissan/*'] subaru: - - all: ['selfdrive/car/subaru/*'] + - all: + - changed-files: ['selfdrive/car/subaru/*'] tesla: - - all: ['selfdrive/car/tesla/*'] + - all: + - changed-files: ['selfdrive/car/tesla/*'] toyota: - - all: ['selfdrive/car/toyota/*'] + - all: + - changed-files: ['selfdrive/car/toyota/*'] volkswagen: - - all: ['selfdrive/car/volkswagen/*'] + - all: + - changed-files: ['selfdrive/car/volkswagen/*'] simulation: - - all: ['tools/sim/**'] + - all: + - changed-files: ['tools/sim/**'] ui: - - all: ['selfdrive/ui/**'] + - all: + - changed-files: ['selfdrive/ui/**'] tools: - - all: ['tools/**'] + - all: + - changed-files: ['tools/**'] multilanguage: - - all: ['selfdrive/ui/translations/**'] + - all: + - changed-files: ['selfdrive/ui/translations/**'] diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml index 7c91b1591c..20f7260ef7 100644 --- a/.github/workflows/labeler.yaml +++ b/.github/workflows/labeler.yaml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v3 with: submodules: false - - uses: actions/labeler@v4 + - uses: actions/labeler@v5.0.0-alpha.1 with: dot: true configuration-path: .github/labeler.yaml \ No newline at end of file