Skip to content

Commit

Permalink
Merge branch 'main' into grafakus/test-ci-github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
grafakus authored Jan 31, 2025
2 parents 7cdf62e + e8270e7 commit 51441a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ jobs:
run: npx @grafana/levitate@latest is-compatible --path src/module.ts --target @grafana/data,@grafana/ui,@grafana/runtime

# The plugin is signed here so it's possible to use the artifact produced by the job directly
# Forks are not allowed to get is signed so we skip this step (and job to upload the artifact)
# See also https://github.com/grafana/explore-profiles/issues/366)
- name: Setup plugin signing
if: ${{ !github.event.pull_request.head.repo.fork }}
uses: grafana/shared-workflows/actions/get-vault-secrets@main
with:
vault_instance: ops
Expand All @@ -73,6 +76,7 @@ jobs:
# create MANIFEST in dist
- name: Sign plugin
if: ${{ !github.event.pull_request.head.repo.fork }}
run: yarn sign
env:
GRAFANA_ACCESS_POLICY_TOKEN: ${{ env.SIGN_PLUGIN_ACCESS_POLICY_TOKEN }}
Expand Down Expand Up @@ -145,6 +149,7 @@ jobs:
# to push the package automatically without approval
name: Upload to GCS
needs: [end-to-end]
if: ${{ !github.event.pull_request.head.repo.fork }}
environment: ${{ github.event_name == 'push' && 'gcs-no-approval' || 'gcs' }}
runs-on: ubuntu-latest
outputs:
Expand Down

0 comments on commit 51441a6

Please sign in to comment.