File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' PR Validation'
2+
3+ on :
4+ pull_request :
5+ types :
6+ - opened
7+ - edited
8+ - reopened
9+ - synchronize
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ check-commit-message :
16+ name : Check Commit Messages
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Check Package Prefix
20+ uses : gsactions/commit-message-checker@v2
21+ with :
22+ pattern : ' ^(\*|plumbing|utils|config|_examples|internal|storage|cli|build): .+'
23+ error : |
24+ Commit message(s) does not align with contribution acceptance criteria.
25+
26+ Refer to https://github.com/go-git/go-git/blob/master/CONTRIBUTING.md#format-of-the-commit-message for more information.
27+ excludeDescription : ' true'
28+ excludeTitle : ' true'
29+ checkAllCommitMessages : ' true'
30+ accessToken : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments