Try base branch
This commit is contained in:
parent
9af7a627fc
commit
67b79406fd
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -80,7 +80,7 @@ jobs:
|
||||
echo ${TRAVIS_PULL_REQUEST}
|
||||
# export TRAVIS_BRANCH=${GITHUB_REF#"ref/heads"}
|
||||
# export CI_BRANCH=${GITHUB_REF#"ref/heads"}
|
||||
export TRAVIS_BRANCH=$(cat $GITHUB_EVENT_PATH | jq -r .pull_request.head.ref)
|
||||
export TRAVIS_BRANCH=$(cat $GITHUB_EVENT_PATH | jq -r .pull_request.base.ref)
|
||||
if [ -z ${TRAVIS_BRANCH} ]; then export TRAVIS_BRANCH=${GITHUB_REF#"ref/heads"}; fi
|
||||
echo "${TRAVIS_BRANCH}"
|
||||
coveralls -v || true
|
||||
|
Loading…
Reference in New Issue
Block a user