Skip to content

Commit 8df7ea5

Browse files
committed
chore(naga-health): rename health check file
1 parent dd8f214 commit 8df7ea5

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/health-checks.yml renamed to .github/workflows/naga-health-check.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ on:
44
push:
55
branches:
66
- feature/jss-29-feature-add-naga-uptime-bot
7-
# Temporarily disabled schedule; re-enable when satisfied
8-
# schedule:
9-
# - cron: '*/5 * * * *'
7+
schedule:
8+
- cron: '*/5 * * * *'
109
workflow_dispatch:
1110
inputs:
1211
naga_branch:
@@ -30,21 +29,17 @@ jobs:
3029
runs-on: ubuntu-latest
3130
environment: Health Check
3231
strategy:
33-
# Don't cancel other network tests if one fails
3432
fail-fast: false
3533
matrix:
3634
network: [naga-dev, naga-test]
37-
3835
env:
3936
NETWORK: ${{ matrix.network }}
4037
LIVE_MASTER_ACCOUNT: ${{ matrix.network == 'naga-dev' && secrets.LIVE_MASTER_ACCOUNT_NAGA_DEV || secrets.LIVE_MASTER_ACCOUNT_NAGA_TEST }}
4138
LIT_YELLOWSTONE_PRIVATE_RPC_URL: ${{ vars.LIT_YELLOWSTONE_PRIVATE_RPC_URL }}
42-
4339
steps:
4440
- name: Checkout repository
4541
uses: actions/checkout@v4
4642
with:
47-
# If manually triggered and a branch is provided, use it; otherwise use the triggering ref
4843
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.naga_branch || github.ref }}
4944
fetch-depth: 1
5045

@@ -95,7 +90,6 @@ jobs:
9590
echo "✅ All required environment variables are set"
9691
9792
- name: Run health check for ${{ matrix.network }}
98-
# If a specific network is selected via workflow_dispatch input, only run that one
9993
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.network == '' || github.event.inputs.network == matrix.network }}
10094
run: pnpm run ci:health
10195
timeout-minutes: 10
@@ -117,5 +111,4 @@ jobs:
117111
echo "❌ Health check failed for ${{ matrix.network }}"
118112
echo "Time: $(date -u +"%Y-%m-%d %H:%M:%S UTC")"
119113
echo "Please check the logs above for details"
120-
fi
121114

0 commit comments

Comments
 (0)