summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-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