christophebedard / dco-check

Simple DCO check script to be used in any CI
Apache License 2.0
12 stars 6 forks source link

Don't check commits for scheduled GitLab pipelines #80

Closed christophebedard closed 4 years ago

christophebedard commented 4 years ago

Applies change as described and explained here: https://github.com/christophebedard/dco-check/issues/79#issuecomment-650154052

If we're on a scheduled GitLab pipeline, set base to head to not check any commits.

Confirmation:

Users of dco-check could simply not run it for scheduled pipelines (checking for it as part of the job), but this allows them to just not bother checking.

Closes #79

codecov[bot] commented 4 years ago

Codecov Report

Merging #80 into master will decrease coverage by 0.25%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
- Coverage   73.58%   73.33%   -0.26%     
==========================================
  Files           2        2              
  Lines         477      480       +3     
  Branches       76       77       +1     
==========================================
+ Hits          351      352       +1     
+ Misses         96       91       -5     
- Partials       30       37       +7     
Impacted Files Coverage Δ
dco_check/dco_check.py 73.22% <0.00%> (-0.26%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 702cb38...157af64. Read the comment docs.