Skip to content

feat: Automatically prepend CC to GH PR title #3

feat: Automatically prepend CC to GH PR title

feat: Automatically prepend CC to GH PR title #3

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: Conventional Commits
jobs:
cc:
name: Conventional Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
- uses: cashapp/activate-hermit@v1
- run: |
gh pr edit --title "$(gptcc '${{ github.event.pull_request.title }}')"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}