From 17549a554949a9a269ba0963ba9cf382e3e1bd54 Mon Sep 17 00:00:00 2001 From: Jordan Barrett Date: Wed, 18 Oct 2023 15:12:56 +0700 Subject: [PATCH] exit 1 in PR workflow --- .github/workflows/pr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 968078b..62193ea 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -9,4 +9,5 @@ jobs: - run: | if [[ "${{ github.event.pull_request.head.repo.full_name }}" != "juju/juju-controller" ]]; then echo "::error::CI is unable to run on a PR opened from a fork. Please push your branch to the main repo and reopen this PR." + exit 1 fi