Commit f9c8b33 1 parent c13754c commit f9c8b33 Copy full SHA for f9c8b33
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 18
18
- name : Check Commit Format
19
19
uses : gsactions/commit-message-checker@v2
20
20
with :
21
- pattern : ' Issue \#[0-9]+: .+'
21
+ pattern : ' (( Issue \#[0-9]+:)|(\[((\#[0-9]+)|(MINOR)|(AUTO))\])) .+'
22
22
checkAllCommitMessages : ' true'
23
- error : ' Your first line has to have the format "Issue #XXX: Commit message".'
23
+ error : ' Your first line has to have the format "Issue #XXX: Commit message" or "[#XXX] Commit Message" .'
24
24
excludeDescription : ' true'
25
25
excludeTitle : ' true'
26
26
accessToken : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Pull requests must adhere to style guidelines enforced by a variety of tools. De
8
8
- Black formatter (88 column line default)
9
9
- Ruff linter
10
10
- isort import organizer
11
- - Commit message requirements: Must take the form ` Issue #XXX: Commit message` , not exceeding 72 characters.
11
+ - Commit message requirements: Must take the form ` [ #XXX] Commit message` , not exceeding 72 characters.
12
12
13
13
It is recommended to install these tools in the editor of your choice and have them warn for noncompliance and apply autofixes on save.
14
14
You can’t perform that action at this time.
0 commit comments