Skip to content

Commit

Permalink
ci: Exclude commits not related to PR
Browse files Browse the repository at this point in the history
  • Loading branch information
krOoze authored and mark-lunarg committed Aug 16, 2019
1 parent 94f8b70 commit 1cfe7a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/check_commit_message_format.sh
Expand Up @@ -30,6 +30,7 @@ NC='\033[0m' # No Color
# Get user-supplied commit message text for applicable commits and insert
# a unique separator string identifier. The git command returns ONLY the
# subject line and body for each of the commits.
TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}"
COMMIT_TEXT=$(git log ${TRAVIS_COMMIT_RANGE} --pretty=format:"XXXNEWLINEXXX"%n%B)

# Bail if there are none
Expand Down

0 comments on commit 1cfe7a9

Please sign in to comment.