Skip to content

Commit

Permalink
exit 1 in PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
barrettj12 committed Oct 18, 2023
1 parent 2818477 commit 17549a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 17549a5

Please sign in to comment.