We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dea6221 + d93c140 commit 1a8caa5Copy full SHA for 1a8caa5
.circleci/config.yml
@@ -31,10 +31,10 @@ commands:
31
git remote add upstream git://github.com/matplotlib/matplotlib.git
32
fi
33
git fetch upstream
34
- export merge=${CI_PULL_REQUEST//*pull\//}
35
- if [[ "$merge" != "" ]]; then
36
- echo "Merging ${merge}";
37
- git pull --ff-only upstream "refs/pull/${merge}/merge";
+ if [[ "$CIRCLE_BRANCH" != "master" ]] && \
+ [[ "$CIRCLE_PR_NUMBER" != "" ]]; then
+ echo "Merging ${CIRCLE_PR_NUMBER}"
+ git pull --ff-only upstream "refs/pull/${CIRCLE_PR_NUMBER}/merge"
38
39
40
apt-install:
0 commit comments