File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' Conventional Commit'
2+
3+ on :
4+ pull_request_target :
5+ types :
6+ # Defaults
7+ # https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request_target
8+ - opened
9+ - reopened
10+ - synchronize
11+ # Tracks editing PR title or description, or base branch changes
12+ # https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=edited#pull_request
13+ - edited
14+
15+ jobs :
16+ main :
17+ name : ' [Required] Validate PR title'
18+ runs-on : ubuntu-latest
19+ permissions :
20+ pull-requests : read
21+ steps :
22+ - uses : amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
23+ env :
24+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments