Skip to content

jianxiaoBai/ChatGPT-CodeReview-Gitlab

Repository files navigation

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.

About

A demo by chatGPT in GitLab review code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published