From 70dbba82e223bb921edc0e08c55742b2589e6207 Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Fri, 13 Dec 2024 18:31:20 +0000 Subject: [PATCH] Don't run the workflow on forks (#2284) 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 }}