From 305f33f713252ce3dad18b896a58c23720c0a48d Mon Sep 17 00:00:00 2001
From: Yutaka Kondo <yutaka.kondo@youtalk.jp>
Date: Thu, 11 Jul 2024 21:45:59 +0900
Subject: [PATCH] run health-check on schedule and workflow_dispatch

Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
---
 .github/workflows/health-check.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/health-check.yaml b/.github/workflows/health-check.yaml
index 0fbd76375a7..bed2d8f51a6 100644
--- a/.github/workflows/health-check.yaml
+++ b/.github/workflows/health-check.yaml
@@ -19,7 +19,9 @@ jobs:
 
   load-env:
     needs: label-check
-    if: ${{ needs.label-check.outputs.result == 'true' }}
+    if: ${{ needs.label-check.outputs.result == 'true' ||
+      github.event_name == 'schedule' ||
+      github.event_name == 'workflow_dispatch' }}
     uses: ./.github/workflows/load-env.yaml
 
   docker-build: