Skip to content

Commit

Permalink
ci: Fix only run on fork guard (#15677)
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Baldry <[email protected]>
  • Loading branch information
jdbaldry authored Jan 10, 2025
1 parent d622dd6 commit 89818b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
deploy-pr-preview:
if: github.repository == 'grafana/loki'
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 }}
Expand Down

0 comments on commit 89818b7

Please sign in to comment.