diff --git a/.github/workflows/health-check.yaml b/.github/workflows/health-check.yaml index 5f75b1f52f5..0fbd76375a7 100644 --- a/.github/workflows/health-check.yaml +++ b/.github/workflows/health-check.yaml @@ -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: