Skip to content

Commit

Permalink
feat(ci): make sure tag:run-health-check tag is present on PR to ru…
Browse files Browse the repository at this point in the history
…n `health-check` CI (autowarefoundation#4962)

* check tag

Signed-off-by: Yutaka Kondo <[email protected]>

* run only github hosted runner

Signed-off-by: Yutaka Kondo <[email protected]>

* check result

Signed-off-by: Yutaka Kondo <[email protected]>

---------

Signed-off-by: Yutaka Kondo <[email protected]>
  • Loading branch information
youtalk authored and pravinkmr26 committed Jul 15, 2024
1 parent bbbe486 commit bdbd282
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/health-check.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
name: health-check

on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
schedule:
- cron: 0 12 * * *
workflow_dispatch:

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

load-env:
needs: label-check
if: ${{ needs.label-check.outputs.result == 'true' }}
uses: ./.github/workflows/load-env.yaml

docker-build:
Expand Down

0 comments on commit bdbd282

Please sign in to comment.