Don't run PR preview on forks (#97963)

This commit is contained in:
Jack Baldry 2024-12-16 11:01:54 +00:00 committed by GitHub
parent 06c0fa70c2
commit 22dbde3126
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,7 @@ on:
jobs:
deploy-pr-preview:
if: github.repository == 'grafana/grafana'
uses: grafana/writers-toolkit/.github/workflows/deploy-preview.yml@main
with:
sha: ${{ github.event.pull_request.head.sha }}
@ -20,4 +21,4 @@ jobs:
repo: grafana
website_directory: content/docs/grafana/latest
relative_prefix: /docs/grafana/latest/
index_file: true
index_file: true