Benchmarks Fund admin pallet #64
This file contains 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: GPT Commits summarizer | |
# Summary: This action will write a comment about every commit in a pull request, as well as generate a summary for every file that was modified and add it to the review page, compile a PR summary from all commit summaries and file diff summaries, and delete outdated code review comments | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
summarize: | |
runs-on: ubuntu-latest | |
permissions: write-all # Some repositories need this line | |
steps: | |
- uses: KanHarI/gpt-commit-summarizer@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} |