Skip to content

Commit 7ff563a

Browse files
authored
Reduced commit line length checking to be done just during pull request creation (#2095)
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
1 parent 7df0f1b commit 7ff563a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
accessToken: ${{ secrets.GITHUB_TOKEN }}
144144
error: Commit message has no or incorrectly formatted signed-off-by line
145145
- name: Check commit messages - Line length
146-
if: github.event_name != 'schedule'
146+
if: github.event_name == 'pull_request'
147147
uses: gsactions/commit-message-checker@v2
148148
with:
149149
pattern: '^.{1,80}\n\n(.{0,80}\n)*.{0,80}$'

0 commit comments

Comments
 (0)