Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Mar 15, 2024
1 parent a63b043 commit 55b7b9b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/check-commit-msg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Check commit messages

on:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
pull_request_target:

jobs:
length:
name: Check that length of commit messages are <72 characters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check commit length
run: |
git log $GITHUB_SHA..$GITHUB_REF

0 comments on commit 55b7b9b

Please sign in to comment.