Skip to content

feat: update generated APIs #3711

feat: update generated APIs

feat: update generated APIs #3711

name: Check Pull Request
on:
pull_request:
types: ["opened", "edited", "reopened", "synchronize"]
merge_group:
jobs:
check-title:
runs-on: ubuntu-24.04
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: 20
check-latest: true
cache: "pnpm"
- run: pnpm install
- name: Check title
run: |
title=$(cat <<- "EOF"
${{ github.event.pull_request.title }}
EOF
)
if [ "$title" == "feat: update generated APIs" ]; then
echo "Invalid title."
exit 1
else
echo "$title" | pnpm commitlint
fi