Skip to content

Commit b1f0ae9

Browse files
authored
Update colin.yml
1 parent f3715da commit b1f0ae9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/colin.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,17 @@ jobs:
3030
github_token: ${{ secrets.GITHUB_TOKEN }}
3131
update_existing: true
3232
max_edits: 2
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
38+
# Create a pull request with the changes
39+
- name: create pull request
40+
uses: peter-evans/create-pull-request@v7
41+
with:
42+
token: ${{ secrets.GITHUB_TOKEN }}
43+
title: 'genai-commentor: Suggested comment improvements'
44+
body: "Hi! 👋 I'm Colin the Code Commentor 🤖.\n\nThis pull request was automatically generated by the genai-commentor action to write and update code comments.\n\n> ⚠️ AI can make mistakes — please review carefully before merging. ✅"
45+
branch: genai-commentor/updates
46+
commit-message: 'Colin the Code Commentor: Suggested comment improvements'

0 commit comments

Comments
 (0)