Update Grafana Dashboards #248
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update Grafana Dashboards | |
| on: | |
| schedule: | |
| - cron: '0 1 * * *' # Run daily at 01:00 UTC. | |
| workflow_dispatch: | |
| jobs: | |
| update-dashboards: | |
| if: ${{ github.repository == 'GreptimeTeam/helm-charts' }} | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Create Pull Request | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| ./scripts/update/update-grafana-dashboard.sh |