Skip to content

Commit 5905e9a

Browse files
committed
ci: fix commit check on branches
1 parent 8bf040b commit 5905e9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/test-commit-messages.js

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ logger
3333

3434
// Note: This is based on the gulp task found in the angular/angular repository
3535
execSync('git fetch origin');
36+
// Travis doesn't have master when running jobs on other branches (minor/patch/etc).
37+
execSync('git fetch origin master:master');
3638

3739

3840
const output = execSync('git log master.. --reverse --format="%H %s" --no-merges', {

0 commit comments

Comments
 (0)