From cb7cde44ac47ca3eff50534e29fa897dee188e91 Mon Sep 17 00:00:00 2001 From: Ryohsuke Mitsudome <43976834+mitsudome-r@users.noreply.github.com> Date: Mon, 5 Feb 2024 15:19:11 +0900 Subject: [PATCH] revert: Revert "ci(build-and-test-differential): use github runner (#6278)" (#6306) * Revert "ci(build-and-test-differential): remove prevent-no-label-execution (#6292)" This reverts commit 76cc954ef78306352d1e440017e7f2708f0dd0de. * Revert "ci(build-and-test-differential): use github runner (#6278)" This reverts commit 0262c68352837ddb5b19160612e8a64700c92590. --- .../workflows/build-and-test-differential.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test-differential.yaml b/.github/workflows/build-and-test-differential.yaml index e7e53cacaee3b..e9db0d140d947 100644 --- a/.github/workflows/build-and-test-differential.yaml +++ b/.github/workflows/build-and-test-differential.yaml @@ -2,10 +2,21 @@ name: build-and-test-differential on: pull_request: + types: + - opened + - synchronize + - labeled jobs: + prevent-no-label-execution: + uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1 + with: + label: tag:run-build-and-test-differential + build-and-test-differential: - runs-on: ubuntu-latest + needs: prevent-no-label-execution + if: ${{ needs.prevent-no-label-execution.outputs.run == 'true' }} + runs-on: [self-hosted, linux, X64] container: ${{ matrix.container }}${{ matrix.container-suffix }} strategy: fail-fast: false @@ -65,7 +76,7 @@ jobs: run: df -h clang-tidy-differential: - runs-on: ubuntu-latest + runs-on: [self-hosted, linux, X64] container: ghcr.io/autowarefoundation/autoware-universe:humble-latest-cuda needs: build-and-test-differential steps: