summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-05-16 02:59:04 +0300
committerLinus Groh <mail@linusgroh.de>2021-05-16 01:25:24 +0100
commit3f08e957d46efc624ea50fd5ef9cbae58d4d85f1 (patch)
tree85c38d8dba66e1d453d5b7c4f80db7b996d2e693 /.github/workflows
parent04f26183cb81d9066ec13e0ac8d763ad40d01785 (diff)
downloadserenity-3f08e957d46efc624ea50fd5ef9cbae58d4d85f1.zip
Meta: Add a check for periods on the end of titles to commit linter
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cmake.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 2e21a997e2..9335dd6bb9 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -265,6 +265,14 @@ jobs:
pattern: '^\S.*?: .+'
error: 'Missing category in commit title (if this is a fix up of a previous commit, it should be squashed)'
+ - name: Check title
+ if: ${{ success() || failure() }}
+ uses: tim-actions/commit-message-checker-with-regex@v0.3.1
+ with:
+ commits: ${{ steps.get-pr-commits.outputs.commits }}
+ pattern: '^.+[^.\n](\n.*)*$'
+ error: 'Commit title ends in a period'
+
notify_irc:
needs: [build_and_test_serenity, build_and_test_lagom, lint_commits]
runs-on: ubuntu-20.04