Skip to content

Commit 0c895f7

Browse files
committed
Fixed that commit checks don't run on scheduled runs
Signed-off-by: Andreas Maier <[email protected]>
1 parent 95eddcd commit 0c895f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ jobs:
154154
with:
155155
fetch-depth: 0
156156
- name: Check commit messages - Signed-off-by
157+
if: github.event_name != '"schedule'
157158
uses: gsactions/commit-message-checker@v2
158159
with:
159160
pattern: '^Signed-off-by: [^<>]+ <[^<>]+>$'
@@ -164,6 +165,7 @@ jobs:
164165
accessToken: ${{ secrets.GITHUB_TOKEN }}
165166
error: Commit message has no or incorrectly formatted signed-off-by line
166167
- name: Check commit messages - Line length
168+
if: github.event_name != 'schedule'
167169
uses: gsactions/commit-message-checker@v2
168170
with:
169171
pattern: '^.{1,80}\n\n(.{0,80}\n)*.{0,80}$'

0 commit comments

Comments
 (0)