Skip to content

feat: add schemaeventsource package #6528

feat: add schemaeventsource package

feat: add schemaeventsource package #6528

Workflow file for this run

on:
pull_request:
name: Conventional Commits
jobs:
cc:
name: Conventional Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- uses: cashapp/[email protected]
- name: Update PR title
run: |
gh pr view --json title -q .title | grep -qE '^(\w+)[:(]' && exit 0
modified="$(gptcc "$orig")"
diff -u <(echo "$orig") <(echo "$modified") | tail +4 || true
gh pr edit --title "$modified"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
orig: ${{ github.event.pull_request.title }}