-
Notifications
You must be signed in to change notification settings - Fork 432
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
Feature request(GitHub App): Specify label name to be reviewed in .env #76
Comments
@HosakaKeigo sorry for the test is not workable yet. Could you help to create a pull request of beyond code, it looks fine to me. |
HosakaKeigo
added a commit
to HosakaKeigo/ChatGPT-CodeReview
that referenced
this issue
Apr 28, 2023
anc95
pushed a commit
that referenced
this issue
Apr 28, 2023
codehome0301
added a commit
to codehome0301/ChatGPT-CodeReview
that referenced
this issue
Feb 13, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Purpose
As per Github Actions version, it would be convenient if you can specify the label name to be reviewed in GitHub App version.
Suggestion
Here's my implementation suggestion.
add label name to .env
add label name such as
TARGET_LABEL
to .env.https://github.com/anc95/ChatGPT-CodeReview/blob/main/.env.example
add a label check in bot.ts
If
TARGET_LABEL
is specified in .env, check if the label is attached.ChatGPT-CodeReview/src/bot.ts
Line 61 in 8833ed9
I also tried to make a PR, but
npm test
doesn't work for my environment. (Windows / WSL2)The text was updated successfully, but these errors were encountered: