Skip to content

Gitlab pr bot#1

Open
hyqshr wants to merge 2 commits intomainfrom
gitlab-pr-bot
Open

Gitlab pr bot#1
hyqshr wants to merge 2 commits intomainfrom
gitlab-pr-bot

Conversation

@hyqshr
Copy link

@hyqshr hyqshr commented May 15, 2024

GitLab pr-review-bot

Express app that process GitLab MR webhook request and generate PR

This function will be called when a GitLab MR event is received, then

  1. Fetch the diffs files in the MR
  2. Fetch the original file content for each changed file
  3. Call the Greptile API to comments (individual comment and overall comment)
  4. Post the generated comments to the MR

Note, right now individual comment is not working (function postMultipleComments) since the code did not get new_line and old_line correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant