From 0be2700c01600b26dedae174d1993a9c00c65cee Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 11 Jun 2026 13:26:13 +0000 Subject: [PATCH] Add GitHub Actions workflow to ping healthcheck every 2 minutes Runs every 10 minutes, pings 5x with 2-minute sleeps between each. GitHub Actions minimum cron interval is 5 min, this workaround achieves ~2-minute cadence within a single job. https://claude.ai/code/session_01U8j5zqsX4kwqjnzq3EncSi --- .github/workflows/ping.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/ping.yml diff --git a/.github/workflows/ping.yml b/.github/workflows/ping.yml new file mode 100644 index 0000000..6b2d42c --- /dev/null +++ b/.github/workflows/ping.yml @@ -0,0 +1,37 @@ +name: Health Check Ping + +on: + schedule: + - cron: "*/10 * * * *" + workflow_dispatch: + +jobs: + ping: + runs-on: ubuntu-latest + steps: + - name: Ping 1 + run: curl -fsS --retry 3 https://hc-ping.com/a4b80e88-d7ab-4edc-ad3e-9cd57036075e + + - name: Wait 2 min + run: sleep 120 + + - name: Ping 2 + run: curl -fsS --retry 3 https://hc-ping.com/a4b80e88-d7ab-4edc-ad3e-9cd57036075e + + - name: Wait 2 min + run: sleep 120 + + - name: Ping 3 + run: curl -fsS --retry 3 https://hc-ping.com/a4b80e88-d7ab-4edc-ad3e-9cd57036075e + + - name: Wait 2 min + run: sleep 120 + + - name: Ping 4 + run: curl -fsS --retry 3 https://hc-ping.com/a4b80e88-d7ab-4edc-ad3e-9cd57036075e + + - name: Wait 2 min + run: sleep 120 + + - name: Ping 5 + run: curl -fsS --retry 3 https://hc-ping.com/a4b80e88-d7ab-4edc-ad3e-9cd57036075e