From b948fab4575a758f7080a24178c779974516a4db Mon Sep 17 00:00:00 2001
From: Ryohsuke Mitsudome <ryohsuke.mitsudome@tier4.jp>
Date: Mon, 5 Feb 2024 15:06:29 +0900
Subject: [PATCH 1/2] Revert "ci(build-and-test-differential): remove
 prevent-no-label-execution (#6292)"

This reverts commit 76cc954ef78306352d1e440017e7f2708f0dd0de.
---
 .github/workflows/build-and-test-differential.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.github/workflows/build-and-test-differential.yaml b/.github/workflows/build-and-test-differential.yaml
index e7e53cacaee3b..e3711d413cb68 100644
--- a/.github/workflows/build-and-test-differential.yaml
+++ b/.github/workflows/build-and-test-differential.yaml
@@ -2,9 +2,20 @@ 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:
+    needs: prevent-no-label-execution
+    if: ${{ needs.prevent-no-label-execution.outputs.run == 'true' }}
     runs-on: ubuntu-latest
     container: ${{ matrix.container }}${{ matrix.container-suffix }}
     strategy:

From fa2e0c425aacaf3b506b281149920093ec372cc2 Mon Sep 17 00:00:00 2001
From: Ryohsuke Mitsudome <ryohsuke.mitsudome@tier4.jp>
Date: Mon, 5 Feb 2024 15:06:39 +0900
Subject: [PATCH 2/2] Revert "ci(build-and-test-differential): use github
 runner (#6278)"

This reverts commit 0262c68352837ddb5b19160612e8a64700c92590.
---
 .github/workflows/build-and-test-differential.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build-and-test-differential.yaml b/.github/workflows/build-and-test-differential.yaml
index e3711d413cb68..e9db0d140d947 100644
--- a/.github/workflows/build-and-test-differential.yaml
+++ b/.github/workflows/build-and-test-differential.yaml
@@ -16,7 +16,7 @@ jobs:
   build-and-test-differential:
     needs: prevent-no-label-execution
     if: ${{ needs.prevent-no-label-execution.outputs.run == 'true' }}
-    runs-on: ubuntu-latest
+    runs-on: [self-hosted, linux, X64]
     container: ${{ matrix.container }}${{ matrix.container-suffix }}
     strategy:
       fail-fast: false
@@ -76,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: