We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9af9431 commit b8e0687Copy full SHA for b8e0687
1 file changed
.github/workflows/convetional-commit.yml
@@ -0,0 +1,24 @@
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 }}
0 commit comments