mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-11 00:08:13 -05:00
22 lines
590 B
YAML
22 lines
590 B
YAML
name: grafana
|
|
|
|
on:
|
|
pull_request:
|
|
merge_group:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
check-dashboard:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Check for ${DS_PROMETHEUS} in overview.json
|
|
run: |
|
|
if grep -Fn '${DS_PROMETHEUS}' etc/grafana/dashboards/overview.json; then
|
|
echo "Error: overview.json contains '\${DS_PROMETHEUS}' placeholder"
|
|
echo "Please replace it with '\${datasource}'"
|
|
exit 1
|
|
fi
|
|
echo "✓ overview.json does not contain '\${DS_PROMETHEUS}' placeholder"
|