From bbe07a6eccb555cf722f60e9eae61a4dfe5c3fb9 Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Fri, 13 Dec 2024 16:40:20 +0000 Subject: [PATCH] Don't run the workflow on forks It's expected that it can't succeed on forks. We aren't supporting that use case yet. --- .github/workflows/deploy-pr-preview.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-pr-preview.yml b/.github/workflows/deploy-pr-preview.yml index fadcde280c..983b5d57e7 100644 --- a/.github/workflows/deploy-pr-preview.yml +++ b/.github/workflows/deploy-pr-preview.yml @@ -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 }}