From 0a1b2e41052bffd492e91cfceb51a044b15285a1 Mon Sep 17 00:00:00 2001 From: Leonardo Petrora <29212725+lpetrora@users.noreply.github.com> Date: Mon, 18 Nov 2024 08:44:37 +0100 Subject: [PATCH] Update github actions The usage of GRAFANA_API_KEY environment variable is deprecated and it should be changed to GRAFANA_ACCESS_POLICY_TOKEN --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfbd734..7f9b366 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,7 @@ jobs: id: build-signed uses: ./.github/build/ env: - GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY }} + GRAFANA_ACCESS_POLICY_TOKEN: ${{ secrets.GRAFANA_API_KEY }} with: release: false signed: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c945ea9..5f8b15f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: id: build-signed uses: ./.github/build/ env: - GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY }} + GRAFANA_ACCESS_POLICY_TOKEN: ${{ secrets.GRAFANA_API_KEY }} with: release: true signed: true