mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
Create main.yml (#40350)
This commit is contained in:
parent
976d48f20f
commit
da32eb5aae
18
.github/workflows/main.yml
vendored
Normal file
18
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
on: [pull_request]
|
||||||
|
|
||||||
|
name: ChatGPT CodeReview
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
chatgpt_comment:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Let chatgpt comment on your PR.
|
||||||
|
steps:
|
||||||
|
- name: ChatGPT comment
|
||||||
|
uses: kxxt/chatgpt-action@v0.3
|
||||||
|
id: chatgpt
|
||||||
|
with:
|
||||||
|
number: ${{ github.event.pull_request.number }}
|
||||||
|
sessionToken: ${{ secrets.CHATGPT_SESSION_TOKEN }}
|
||||||
|
split: 'yolo' # Use true to enable the unstable split feature.
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user