UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Add commitlint job

Merged Zachariah Dzielinski requested to merge commitlint-ci into master
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
+ 2
0
#!/usr/bin/env bash
set -x
# loop over commit sha's for commits that exist in this branch but not the default branch
for sha in $(git log $CI_DEFAULT_BRANCH..$CI_COMMIT_REF_NAME --format=format:%H); do
# get the commit message from the sha
Loading