Skip to content

Update colin.yml

Update colin.yml #2

Workflow file for this run

name: Improve Code Comments
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pull-requests: write
models: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run-script:
runs-on: ubuntu-latest
steps:
# Cache the generated model requests made by GenAIScript
#
# A new cache is created for each run to ensure that the latest model requests are used,
# but previous caches can be restored and reused if availble.
- uses: actions/cache@v4
with:
path: .genaiscript/cache/**
key: genaiscript-${{ github.run_id }}
restore-keys: genaiscript-
- uses: actions/checkout@v4
- uses: pelikhan/action-genai-commentor@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
update_existing: true
max_edits: 2