Skip to content
Snippets Groups Projects
Unverified Commit c0417ce6 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone Committed by GitHub
Browse files

Stop the job at some point if it is for a forked PR


Co-authored-by: default avatarTom Prince <tom.prince@hocat.ca>
parent 566cefb7
No related branches found
No related tags found
1 merge request!208Set up Cachix cache
......@@ -180,6 +180,14 @@ jobs:
--arg collectCoverage true \
--attr doc
- run:
name: Early return if this build is from a forked PR
command: |
if [ -n "$CIRCLE_PR_NUMBER" ]; then
echo "Nothing to do for forked PRs, so marking this step successful"
circleci step halt
fi
- run:
name: "Push to Cachix"
when: "always"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment