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 4e667e8 commit 7456b23Copy full SHA for 7456b23
.github/workflows/check-pull-request.yml
@@ -17,4 +17,13 @@ jobs:
17
check-latest: true
18
cache: "pnpm"
19
- run: pnpm install
20
- - run: echo '${{ github.event.pull_request.title }}' | pnpm commitlint
+ - name: Check title
21
+ run: |
22
+ title="${{ github.event.pull_request.title }}"
23
+ title_escaped=${title//\'/\'}
24
+ if [ "$title" == "feat: update generated APIs" ]; then
25
+ echo "Invalid title."
26
+ exit 1
27
+ else
28
+ echo "$title_escaped" | pnpm commitlint
29
+ fi
0 commit comments