mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-10-12 23:12:28 +00:00
28 lines
631 B
YAML
28 lines
631 B
YAML
name: Check Grafana Panels
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'grafana/**' # Trigger only when files under the grafana/ directory change
|
|
|
|
jobs:
|
|
check-panels:
|
|
if: ${{ github.event.pull_request.draft == false }}
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
# Check out the repository
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
# Install jq (required for the script)
|
|
- name: Install jq
|
|
run: sudo apt-get install -y jq
|
|
|
|
# Make the check.sh script executable
|
|
- name: Check grafana dashboards
|
|
run: |
|
|
make check-dashboards
|