From a969923197bcede7a1c4ce6cb017377b1229e15d Mon Sep 17 00:00:00 2001 From: Quentin MOUTY Date: Fri, 27 Sep 2024 13:52:53 +0200 Subject: [PATCH] Add signing for release --- .github/workflows/release.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 523ba64..b22c85f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,10 +17,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: grafana/plugin-actions/build-plugin@release - # Uncomment to enable plugin signing - # (For more info on how to generate the access policy token see https://grafana.com/developers/plugin-tools/publish-a-plugin/sign-a-plugin#generate-an-access-policy-token) - #with: - # Make sure to save the token in your repository secrets - #policy_token: $ - # Usage of GRAFANA_API_KEY is deprecated, prefer `policy_token` option above - #grafana_token: $ + - name: Sign plugin + run: npm run sign + if: ${{ env.GRAFANA_ACCESS_POLICY_TOKEN != '' }}