Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
use make-sure-label-is-present
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
xmfcx committed Jun 12, 2024
1 parent c60e1b6 commit fbd0b96
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-and-test-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ on:
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled

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
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/clang-tidy-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ on:
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled

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:
Expand Down

0 comments on commit fbd0b96

Please sign in to comment.