Skip to content

Commit a4b502b

Browse files
authored
Create colin.yml
1 parent ecf8f5e commit a4b502b

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/colin.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Improve Code Comments
2+
on:
3+
push:
4+
branches:
5+
- main
6+
workflow_dispatch:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
models: read
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
jobs:
15+
run-script:
16+
runs-on: ubuntu-latest
17+
steps:
18+
# Cache the generated model requests made by GenAIScript
19+
#
20+
# A new cache is created for each run to ensure that the latest model requests are used,
21+
# but previous caches can be restored and reused if availble.
22+
- uses: actions/cache@v4
23+
with:
24+
path: .genaiscript/cache/**
25+
key: genaiscript-${{ github.run_id }}
26+
restore-keys: genaiscript-
27+
- uses: actions/checkout@v4
28+
- uses: pelikhan/action-genai-commentor@main
29+
with:
30+
github_token: ${{ secrets.GITHUB_TOKEN }}
31+
update_existing: true
32+
max_edits: 10

0 commit comments

Comments
 (0)