diff options
| author | stijn <stijn@ignitron.net> | 2021-01-19 15:06:50 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-01-30 14:09:21 +1100 |
| commit | 37c2f507a01af06627ff93eafa4fc80b2734620e (patch) | |
| tree | 5da2eab3b75a835587c5ebcbd285ab54a77479c9 /tools | |
| parent | d48860c7ddfb37bdc48d0f3afc3a26dcd54cca0f (diff) | |
github/workflows: Add workflow to verify commit message format.
Using the new tools/verifygitlog.py script.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/ci.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/ci.sh b/tools/ci.sh index 4e4aad560..c6b641dae 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -30,6 +30,16 @@ function ci_code_formatting_run { } ######################################################################################## +# commit formatting + +function ci_commit_formatting_run { + git remote add upstream https://github.com/micropython/micropython.git + git fetch --depth=100 upstream master + # For a PR, upstream/master..HEAD ends with a merge commit into master, exlude that one. + tools/verifygitlog.py -v upstream/master..HEAD --no-merges +} + +######################################################################################## # code size function ci_code_size_setup { |
