We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7566908 commit aae5de2Copy full SHA for aae5de2
.github/workflows/lint-pr-title.yml
@@ -0,0 +1,23 @@
1
+name: Lint PR title
2
+on:
3
+ pull_request:
4
+ types:
5
+ - edited
6
+ - opened
7
+ - reopened
8
+ - synchronize
9
+jobs:
10
+ lint-pr-title:
11
+ runs-on: ubuntu-24.04
12
+ steps:
13
+ - name: Checkout Repository
14
+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
15
+
16
+ - uses: ./.github/actions/setup
17
18
+ - name: Install commitlint
19
+ run: |
20
+ pnpm i -D -w commitlint @commitlint/config-conventional
21
22
+ - name: Validate PR title
23
+ run: echo "${{ github.event.pull_request.title }}" | pnpm dlx commitlint -x '@commitlint/config-conventional'
0 commit comments