Fix only run on fork guard (#98795)

This commit is contained in:
Jack Baldry 2025-01-13 10:28:43 +00:00 committed by GitHub
parent a3a1fa7f2c
commit 60aaa8d703
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,7 @@ on:
jobs:
deploy-pr-preview:
if: github.repository == 'grafana/grafana'
if: ! github.event.pull_request.head.repo.fork
uses: grafana/writers-toolkit/.github/workflows/deploy-preview.yml@main
with:
sha: ${{ github.event.pull_request.head.sha }}