Skip to content

Feat/prompt 2

Feat/prompt 2 #125

name: GPT Commits summarizer
# Summary: This action will write a comment about every commit in a pull request, containing major points
# Add a comment
on:
pull_request:
types: [opened, synchronize]
jobs:
summarize:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
with:
# The model to use.
openai_model: "gpt-3.5-turbo-16k"
# Files you want to ignore.
ignore_files: "lib/index.js,*.lock"