Skip to content

Commit

Permalink
Don't run the workflow on forks
Browse files Browse the repository at this point in the history
It's expected that it can't succeed on forks. We aren't supporting that use case yet.
  • Loading branch information
jdbaldry authored Dec 13, 2024
1 parent 5d5c055 commit bbe07a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

jobs:
deploy-pr-preview:
if: github.repository == 'grafana/alloy'
uses: grafana/writers-toolkit/.github/workflows/deploy-preview.yml@main
with:
sha: ${{ github.event.pull_request.head.sha }}
Expand Down

0 comments on commit bbe07a6

Please sign in to comment.