Skip to content

Commit

Permalink
ci: Don't fetch git history
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Jan 27, 2023
1 parent 0ecf318 commit c241586
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
env:
### cirrus config
CIRRUS_CLONE_DEPTH: 1
### compiler options
HOST:
WRAPPER_CMD:
Expand Down Expand Up @@ -56,7 +58,7 @@ merge_base_script_snippet: &MERGE_BASE
- git config --global user.email "ci@ci.ci"
- git config --global user.name "ci"
- if [ "$CIRRUS_PR" = "" ]; then exit 0; fi
- git fetch $CIRRUS_REPO_CLONE_URL "pull/${CIRRUS_PR}/merge"
- git fetch --depth=1 $CIRRUS_REPO_CLONE_URL "pull/${CIRRUS_PR}/merge"
- git checkout FETCH_HEAD # Use merged changes to detect silent merge conflicts

linux_container_snippet: &LINUX_CONTAINER
Expand Down

0 comments on commit c241586

Please sign in to comment.