Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/health-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ concurrency:
cancel-in-progress: true

jobs:
label-check:
uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1
require-label:
uses: autowarefoundation/autoware-github-actions/.github/workflows/require-label.yaml@v1
with:
label: run:health-check

docker-build:
needs: label-check
if: ${{ needs.label-check.outputs.result == 'true' ||
needs: require-label
if: ${{ needs.require-label.outputs.result == 'true' ||
github.event_name == 'schedule' ||
github.event_name == 'workflow_dispatch' }}
strategy:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/setup-universe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,25 @@ name: setup-universe

on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true

jobs:
require-label:
uses: autowarefoundation/autoware-github-actions/.github/workflows/require-label.yaml@v1
with:
label: run:health-check

setup-universe:
needs: require-label
if: ${{ needs.require-label.outputs.result == 'true' }}
runs-on: [self-hosted, Linux, X64]
strategy:
fail-fast: false
Expand Down
Loading