From c7d7f3332c0dd4aa7f8fa819bf1d6fd575de6438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Wed, 12 Jun 2024 18:24:27 +0300 Subject: [PATCH] use make-sure-label-is-present. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/workflows/build-and-test-differential.yaml | 9 +++++---- .github/workflows/clang-tidy-differential.yaml | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-and-test-differential.yaml b/.github/workflows/build-and-test-differential.yaml index dc6658df..6da7cc76 100644 --- a/.github/workflows/build-and-test-differential.yaml +++ b/.github/workflows/build-and-test-differential.yaml @@ -5,17 +5,18 @@ on: types: - opened - synchronize + - reopened - labeled jobs: - prevent-no-label-execution-build-and-test-differential: - uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1 + make-sure-label-is-present-build-and-test-differential: + uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v-multi-label with: label: tag:run-build-and-test-differential build-and-test-differential: - needs: prevent-no-label-execution-build-and-test-differential - if: ${{ needs.prevent-no-label-execution-build-and-test-differential.outputs.run == 'true' }} + needs: make-sure-label-is-present-build-and-test-differential + if: ${{ needs.make-sure-label-is-present-build-and-test-differential.outputs.result == 'true' }} runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/clang-tidy-differential.yaml b/.github/workflows/clang-tidy-differential.yaml index 83a5411a..876ebd2c 100644 --- a/.github/workflows/clang-tidy-differential.yaml +++ b/.github/workflows/clang-tidy-differential.yaml @@ -5,17 +5,18 @@ on: types: - opened - synchronize + - reopened - labeled jobs: - prevent-no-label-execution-clang-tidy-differential: - uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1 + make-sure-label-is-present-clang-tidy-differential: + uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v-multi-label with: label: tag:run-clang-tidy-differential clang-tidy-differential: - needs: prevent-no-label-execution-clang-tidy-differential - if: ${{ needs.prevent-no-label-execution-clang-tidy-differential.outputs.run == 'true' }} + needs: make-sure-label-is-present-clang-tidy-differential + if: ${{ needs.make-sure-label-is-present-clang-tidy-differential.outputs.result == 'true' }} runs-on: ubuntu-latest container: ros:humble steps: