Skip to content

Commit

Permalink
ci(validate.yml): add signing step in plugin validation
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-mu committed Jun 4, 2024
1 parent fdd8660 commit 97ee349
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
run: npm install
- run: npm run build
name: Build the plugin
- name: Sign plugin
run: npm run sign
shell: bash
env:
GRAFANA_ACCESS_POLICY_TOKEN: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}
if: ${{ env.GRAFANA_ACCESS_POLICY_TOKEN != '' }} # https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#using-secrets-in-a-workflow https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-secrets
- name: Zip the plugin
uses: montudor/action-zip@v1
with:
Expand Down

0 comments on commit 97ee349

Please sign in to comment.