Skip to content

Commit 6b4bad6

Browse files
authored
Update colin.yml
1 parent 1825a25 commit 6b4bad6

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/colin.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
name: Improve Code Comments
2+
23
on:
34
push:
45
branches:
56
- main
67
workflow_dispatch:
8+
79
permissions:
810
contents: write
911
pull-requests: write
1012
models: read
13+
1114
concurrency:
1215
group: ${{ github.workflow }}-${{ github.ref }}
1316
cancel-in-progress: true
17+
1418
jobs:
1519
run-script:
1620
runs-on: ubuntu-latest
1721
steps:
22+
- uses: actions/checkout@v4
23+
1824
# Cache the generated model requests made by GenAIScript
1925
#
2026
# A new cache is created for each run to ensure that the latest model requests are used,
@@ -24,17 +30,13 @@ jobs:
2430
path: .genaiscript/cache/**
2531
key: genaiscript-${{ github.run_id }}
2632
restore-keys: genaiscript-
27-
- uses: actions/checkout@v4
33+
2834
- uses: pelikhan/action-genai-commentor@main
2935
with:
3036
github_token: ${{ secrets.GITHUB_TOKEN }}
3137
update_existing: true
3238
max_edits: 10
33-
# Show the changes made by the action
34-
- name: show changes
35-
run: |
36-
git diff --color=always || true
37-
git diff --cached --color=always || true
39+
3840
# Create a pull request with the changes
3941
- name: create pull request
4042
uses: peter-evans/create-pull-request@v7

0 commit comments

Comments
 (0)