summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2021-01-19 15:06:50 +0100
committerDamien George <damien@micropython.org>2021-01-30 14:09:21 +1100
commit37c2f507a01af06627ff93eafa4fc80b2734620e (patch)
tree5da2eab3b75a835587c5ebcbd285ab54a77479c9 /.github/workflows
parentd48860c7ddfb37bdc48d0f3afc3a26dcd54cca0f (diff)
github/workflows: Add workflow to verify commit message format.
Using the new tools/verifygitlog.py script.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/commit_formatting.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/commit_formatting.yml b/.github/workflows/commit_formatting.yml
new file mode 100644
index 000000000..5f96fbb93
--- /dev/null
+++ b/.github/workflows/commit_formatting.yml
@@ -0,0 +1,14 @@
+name: Check commit message formatting
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ fetch-depth: '100'
+ - uses: actions/setup-python@v1
+ - name: Check commit message formatting
+ run: source tools/ci.sh && ci_commit_formatting_run