mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Don't run PR preview on forks (#97963)
This commit is contained in:
parent
06c0fa70c2
commit
22dbde3126
3
.github/workflows/deploy-pr-preview.yml
vendored
3
.github/workflows/deploy-pr-preview.yml
vendored
@ -11,6 +11,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy-pr-preview:
|
deploy-pr-preview:
|
||||||
|
if: github.repository == 'grafana/grafana'
|
||||||
uses: grafana/writers-toolkit/.github/workflows/deploy-preview.yml@main
|
uses: grafana/writers-toolkit/.github/workflows/deploy-preview.yml@main
|
||||||
with:
|
with:
|
||||||
sha: ${{ github.event.pull_request.head.sha }}
|
sha: ${{ github.event.pull_request.head.sha }}
|
||||||
@ -20,4 +21,4 @@ jobs:
|
|||||||
repo: grafana
|
repo: grafana
|
||||||
website_directory: content/docs/grafana/latest
|
website_directory: content/docs/grafana/latest
|
||||||
relative_prefix: /docs/grafana/latest/
|
relative_prefix: /docs/grafana/latest/
|
||||||
index_file: true
|
index_file: true
|
||||||
|
Loading…
Reference in New Issue
Block a user