Skip to content

Commit

Permalink
Merge pull request #1677 from PrefectHQ/circle-patch
Browse files Browse the repository at this point in the history
Remove commit check because it isnt working in circle
  • Loading branch information
cicdw committed Oct 29, 2019
2 parents bd70826 + 165d0b5 commit 784b9d1
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,15 +281,6 @@ jobs:
PYTHON_TAG: python<< parameters.python_version >>
steps:
- checkout
- run:
# todo: is there a better way to ensure that this is a commit on master?
name: Master branch check
command: |
apk add git
if [[ $(git branch --contains $CIRCLE_SHA1 --points-at master | wc -l) -ne 1 ]]; then
echo "commit $CIRCLE_SHA1 is not a member of the master branch"
exit 1
fi
- setup_remote_docker:
docker_layer_caching: true
- run:
Expand Down Expand Up @@ -377,4 +368,4 @@ workflows:
branches:
ignore: /.*/
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+$/
only: /^[0-9]+\.[0-9]+\.[0-9]+$/

0 comments on commit 784b9d1

Please sign in to comment.