git.iko.soy/typeable/pandoc
on master help sign in
Revert "Add action to check commit messages for line length."

This reverts commit 7902ac5256a3c25bb6318113da6b231588ef2d5a.

commite8283ed11ee99c460aef264560c8ad773aee669f authorJohn MacFarlane <jgm@berkeley.edu> dateThu 21 May 2020, 14:28 (6 years ago) parent4b5d2aa
1 file changed−34
.github/workflows/commit-message-check.yml−34
.github/workflows/commit-message-check.ymldeleted−34
@@ -1,34 +0,0 @@
1−name: 'Commit Message Check'
2−on:
3− pull_request:
4− types:
5− - opened
6− - edited
7− - reopened
8− - synchronize
9− push:
10− branches:
11− - master
12− - 'releases/*'
13−
14−jobs:
15− check-commit-message:
16− name: Check Commit Message
17− runs-on: ubuntu-latest
18− steps:
19−# - name: Check Commit Type
20−# uses: gsactions/commit-message-checker@v1
21−# with:
22−# pattern: '\[[^]]+\] .+$'
23−# flags: 'gm'
24−# error: 'Your first line has to contain a commit type like "[BUGFIX]".'
25− - name: Check Line Length
26− uses: gsactions/commit-message-checker@v1
27− with:
28− pattern: '^[^#].{78}'
29− error: 'The maximum line length of 78 characters is exceeded.'
30−# - name: Check for Resolves / Fixes
31−# uses: gsactions/commit-message-checker@v1
32−# with:
33−# pattern: '^.+(Resolves|Fixes): \#[0-9]+$'
34−# error: 'You need at least one "Resolves|Fixes: #<issue number>" line.'