feat(serverless_jobs): generate sdk and turn visibility to unlisted for v1alpha2 api #5946
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: make install-dependencies | |
| - 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 |