File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed
Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change 1- name : PR Title
1+ name : Lint PR Title
22
33# Validate that PR titles follow Conventional Commits format.
44# Since we squash merge PRs, the PR title becomes the merge commit message,
@@ -13,26 +13,18 @@ name: PR Title
1313
1414on :
1515 pull_request_target :
16- types : [opened, edited, synchronize, reopened]
17- branches : [main]
18-
19- permissions :
20- pull-requests : write
16+ types :
17+ - opened
18+ - edited
19+ - reopened
2120
2221jobs :
23- validate :
22+ main :
23+ name : Validate PR title
2424 runs-on : ubuntu-latest
2525 permissions :
2626 pull-requests : read
2727 steps :
28- - name : Validate PR title
29- uses : amannn/action-semantic-pull-request@v6
28+ - uses : amannn/action-semantic-pull-request@v6
3029 env :
3130 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32- with :
33- # For work-in-progress PRs you can typically use draft pull requests from GitHub.
34- # This action allows us to use the special "[WIP]" prefix to indicate a draft state
35- # without actually flagging the PR as a draft.
36- # Example:
37- # `[WIP] feat: Add support for Node.js 18` <--- will not be validated!
38- wip : true
You can’t perform that action at this time.
0 commit comments