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

What repository should be the GitHub webhook for pull request review? #1

Open
lucianobfs opened this issue May 1, 2023 · 3 comments

Comments

@lucianobfs
Copy link

it should be on the repository that is receiving the posts or the gpt-auto-blog-writter?

@calumjs
Copy link
Owner

calumjs commented May 2, 2023

It should be on the repo receiving the pull request comments. Which would be the one that you configure in app settings.

@lucianobfs
Copy link
Author

thanks! besides, the event by default is "push", selecting both push and pull_request_review brings an error?

also, the https://.azurewebsites.net/api/HandlePullRequestComment?code=

it's important to hide the secret code on the "add webhook" section?

image

@calumjs
Copy link
Owner

calumjs commented May 2, 2023

You don't want to select the push event or it will get triggered every time a push is made. You only want to trigger it when a pull request comment is made. So untick push.

Can you share the error message you are receiving?

And yes you need to include the code in the url when configuring the web hook or it'll give you an error (which may be the one you are getting 😀)

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

No branches or pull requests

2 participants