Skip to content

Commit

Permalink
ci: Fix github token
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-mu committed Apr 29, 2024
1 parent 2c688ec commit 51294f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ on:
run: npm run sign
shell: bash
env:
GRAFANA_ACCESS_POLICY_TOKEN: ${{ inputs.policy_token }}
GRAFANA_API_KEY: ${{ inputs.grafana_token }}
if: ${{ inputs.policy_token != '' }}
GRAFANA_ACCESS_POLICY_TOKEN: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}
if: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN != '' }}

- name: Get plugin metadata
id: metadata
run: |
Expand Down Expand Up @@ -104,7 +104,7 @@ on:
with:
draft: true
generate_release_notes: true
token: ${{ github.token }}
token: ${{ secrets.GITHUB_TOKEN }}
files: |
./${{ steps.metadata.outputs.archive }}
./${{ steps.metadata.outputs.archive-sha1sum }}
Expand Down

0 comments on commit 51294f4

Please sign in to comment.