From 629ed35d58437f4733f588671be69d254e3e72bd Mon Sep 17 00:00:00 2001 From: Guillaume Campagna Date: Tue, 17 Nov 2026 23:04:29 -0500 Subject: [PATCH 1/3] Pin GitHub Actions to commit SHAs and update them --- .github/workflows/bundle-stats.yml | 4 ++-- .github/workflows/ci.yml | 6 +++--- .github/workflows/codeql-analysis.yml | 8 ++++---- .github/workflows/cp-update.yml | 2 +- .github/workflows/is-compatible.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/bundle-stats.yml b/.github/workflows/bundle-stats.yml index 821cfb6..49f74fb 100644 --- a/.github/workflows/bundle-stats.yml +++ b/.github/workflows/bundle-stats.yml @@ -20,8 +20,8 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: grafana/plugin-actions/bundle-size@bundle-size/v1.1.0 + - uses: grafana/plugin-actions/bundle-size@dfa9631cf7a2077d75d1d374935813156a770419 # v1.1.2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38f8f2b..4034851 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,12 +18,12 @@ jobs: env: GRAFANA_ACCESS_POLICY_TOKEN: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup Node.js environment - uses: actions/setup-node@v6 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: '22' cache: 'npm' @@ -75,7 +75,7 @@ jobs: ARCHIVE: ${{ steps.metadata.outputs.archive }} - name: Archive Build - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: ${{ steps.metadata.outputs.plugin-id }}-${{ steps.metadata.outputs.plugin-version }} path: ${{ steps.metadata.outputs.plugin-id }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3ce1dd1..719754e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,11 +38,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v4 + uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -53,7 +53,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v4 + uses: github/codeql-action/autobuild@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -67,4 +67,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v4 + uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 diff --git a/.github/workflows/cp-update.yml b/.github/workflows/cp-update.yml index b2332c2..35cf1e1 100644 --- a/.github/workflows/cp-update.yml +++ b/.github/workflows/cp-update.yml @@ -14,7 +14,7 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: grafana/plugin-actions/create-plugin-update@create-plugin-update/v2.0.2 + - uses: grafana/plugin-actions/create-plugin-update@bdc3fc5420eca6f498629a8f5d1f43abf0b8ec26 # v2.1.1 with: # Make sure to save the token in your repository secrets as `GH_PAT_TOKEN` token: ${{ secrets.GH_PAT_TOKEN }} diff --git a/.github/workflows/is-compatible.yml b/.github/workflows/is-compatible.yml index a4057a7..495bb1e 100644 --- a/.github/workflows/is-compatible.yml +++ b/.github/workflows/is-compatible.yml @@ -7,7 +7,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false @@ -30,7 +30,7 @@ jobs: echo "modulets=${MODULETS}" >> $GITHUB_OUTPUT - name: Compatibility check - uses: grafana/plugin-actions/is-compatible@is-compatible/v1.0.3 + uses: grafana/plugin-actions/is-compatible@3ead4fe1bf6b7b8f6905513d0b8c986f4bc4754a # v1.1.0 with: module: ${{ steps.find-module-ts.outputs.modulets }} comment-pr: 'no' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3fa7ab..51fd664 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,12 +25,12 @@ jobs: permissions: contents: write # to create the release steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup Node.js environment - uses: actions/setup-node@v6 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version-file: .nvmrc cache: 'npm' From a5ea9d1c02fd231c5dd4b7bca625479cfd25153a Mon Sep 17 00:00:00 2001 From: Guillaume Campagna Date: Tue, 17 Nov 2026 23:09:15 -0500 Subject: [PATCH 2/3] Hold is-compatible at v1.0.3 v1.1.0 baselines the levitate check at the plugin.json minimum Grafana version (12.3.0) instead of the installed one, which fails this plugin's compatibility check. --- .github/workflows/is-compatible.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/is-compatible.yml b/.github/workflows/is-compatible.yml index 495bb1e..591c783 100644 --- a/.github/workflows/is-compatible.yml +++ b/.github/workflows/is-compatible.yml @@ -30,7 +30,7 @@ jobs: echo "modulets=${MODULETS}" >> $GITHUB_OUTPUT - name: Compatibility check - uses: grafana/plugin-actions/is-compatible@3ead4fe1bf6b7b8f6905513d0b8c986f4bc4754a # v1.1.0 + uses: grafana/plugin-actions/is-compatible@4698961fa64137fcac207108397ebe8a738a33d1 # v1.0.3 with: module: ${{ steps.find-module-ts.outputs.modulets }} comment-pr: 'no' From 55aaeba10b6bcfdebbf64ce62d2d6aca905c368d Mon Sep 17 00:00:00 2001 From: Guillaume Campagna Date: Tue, 17 Nov 2026 23:12:43 -0500 Subject: [PATCH 3/3] Revert "Hold is-compatible at v1.0.3" This reverts commit a5ea9d1c02fd231c5dd4b7bca625479cfd25153a. --- .github/workflows/is-compatible.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/is-compatible.yml b/.github/workflows/is-compatible.yml index 591c783..495bb1e 100644 --- a/.github/workflows/is-compatible.yml +++ b/.github/workflows/is-compatible.yml @@ -30,7 +30,7 @@ jobs: echo "modulets=${MODULETS}" >> $GITHUB_OUTPUT - name: Compatibility check - uses: grafana/plugin-actions/is-compatible@4698961fa64137fcac207108397ebe8a738a33d1 # v1.0.3 + uses: grafana/plugin-actions/is-compatible@3ead4fe1bf6b7b8f6905513d0b8c986f4bc4754a # v1.1.0 with: module: ${{ steps.find-module-ts.outputs.modulets }} comment-pr: 'no'