Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1001 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 1001 Bytes

Installation

$ pnpm i --frozen-lockfile

Running

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Replace ChatGPT Token

Replace YOU_ARE_CHATGPT_TOKEN in this project with your own ChatGPT token.

Configure GitLab in the project

Generate an Access Token in the GitLab project and check the "read and write" permissions. Configure the webhook in the GitLab project, and select the Merge request event.

After deploying the service, ChatGPT can comment on code when a Merge Request is created in the corresponding GitLab project.