File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-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+ statuses : write
13+
1014jobs :
1115 main :
1216 name : Validate PR Title
1721 env :
1822 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1923 with :
20- # Allowed types based on Conventional Commits
2124 types : |
2225 feat
2326 fix
@@ -26,15 +29,11 @@ jobs:
2629 test
2730 refactor
2831 ci
29- # Scope is optional
3032 requireScope : false
31- # This example ensures the subject doesn't start with an uppercase character.
3233 subjectPattern : ^(?![A-Z]).+$
3334 subjectPatternError : |
3435 The subject "{subject}" found in the pull request title "{title}"
3536 didn't match the configured pattern. Please ensure that the subject
3637 doesn't start with an uppercase character.
37- # Allow Work-in-Progress (WIP) PRs using the "[WIP]" prefix
3838 wip : true
39- # Skip validation for single-commit PRs
4039 validateSingleCommit : false
You can’t perform that action at this time.
0 commit comments