From f52fa51e6f4d9bb825a5e4349a891967a8f0c29e Mon Sep 17 00:00:00 2001 From: Ryohsuke Mitsudome Date: Wed, 12 Feb 2025 21:45:09 +0900 Subject: [PATCH] ci: use require-label action for health-check Signed-off-by: Ryohsuke Mitsudome --- .github/workflows/health-check.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/health-check.yaml b/.github/workflows/health-check.yaml index c51d8a320e4..987110cbcb1 100644 --- a/.github/workflows/health-check.yaml +++ b/.github/workflows/health-check.yaml @@ -12,14 +12,14 @@ on: workflow_dispatch: 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: tag:run-health-check load-env: - 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' }} uses: ./.github/workflows/load-env.yaml