File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 77 - edited
88 - synchronize
99
10+ permissions :
11+ pull-requests : read
12+
1013jobs :
1114 main :
1215 name : Validate PR Title
1720 env :
1821 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1922 with :
20- # Allowed types based on Conventional Commits
2123 types : |
2224 feat
2325 fix
@@ -26,15 +28,11 @@ jobs:
2628 test
2729 refactor
2830 ci
29- # Scope is optional
3031 requireScope : false
31- # This example ensures the subject doesn't start with an uppercase character.
3232 subjectPattern : ^(?![A-Z]).+$
3333 subjectPatternError : |
3434 The subject "{subject}" found in the pull request title "{title}"
3535 didn't match the configured pattern. Please ensure that the subject
3636 doesn't start with an uppercase character.
37- # Allow Work-in-Progress (WIP) PRs using the "[WIP]" prefix
3837 wip : true
39- # Skip validation for single-commit PRs
4038 validateSingleCommit : false
You can’t perform that action at this time.
0 commit comments