Skip to content

Commit 4ea0531

Browse files
committed
chore: update workflow
1 parent 7ff27c4 commit 4ea0531

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/chatgpt-cr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
name: 🤖 ChatGPT Code Review
1+
name: chatgpt-cr
22

33
permissions:
44
contents: read
5+
issues: write
56
pull-requests: write
67

78
on:
@@ -14,7 +15,6 @@ jobs:
1415
steps:
1516
- uses: anc95/ChatGPT-CodeReview@main
1617
env:
17-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}
1819
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
19-
# Optional
2020
LANGUAGE: Chinese

0 commit comments

Comments
 (0)