From 762e0d86819a2c7ed04ac76849e91d802e335fca Mon Sep 17 00:00:00 2001 From: Brentley Jones Date: Mon, 3 Apr 2023 16:05:39 -0500 Subject: [PATCH] Add commit message CI check (#17) Signed-off-by: Brentley Jones --- .github/workflows/check_pr_title.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/check_pr_title.yml diff --git a/.github/workflows/check_pr_title.yml b/.github/workflows/check_pr_title.yml new file mode 100644 index 0000000..b415bec --- /dev/null +++ b/.github/workflows/check_pr_title.yml @@ -0,0 +1,22 @@ +name: 'Check commit message style' + +on: + pull_request: + types: + - opened + - edited + - reopened + - synchronize + +jobs: + check-commit-message-style: + name: Check commit message style + runs-on: ubuntu-latest + steps: + - name: Check + uses: mristin/opinionated-commit-message@v3.0.0 + with: + allow-one-liners: 'true' + additional-verbs: 'color,colorize,copy,embed,expose,properly,silence,symlink,split' + max-subject-line-length: '80' + skip-body-check: 'true'