Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab pr bot #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Gitlab pr bot #1

wants to merge 2 commits into from

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