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

Add update-only configuration option #92

Merged
merged 1 commit into from May 2, 2023

Conversation

ahatzz11
Copy link
Contributor

@ahatzz11 ahatzz11 commented Apr 27, 2023

This PR adds the update-only configuration option, which allows a run of the add-pr-comment to do nothing if a comment with a matching comment-id doesn't exist.

p.s. I'm a frontend noob and I don't think I've ever written a frontend test in my life. I played with both positive and negative test cases and I think it all works properly, but figured I'd mention it to get an extra set of eyes on this PR.

Closes #87


Edit: I don't really understand why there are +5k/-13k changed lines here, I think it has to do with the package-lock.json. I'm not really sure if I did something wrong here, so let me know if I should do anything to clean this up.

@ahatzz11 ahatzz11 force-pushed the add-update-only-configuration branch from ec8b20b to 9c49af4 Compare April 27, 2023 19:41
@ahatzz11 ahatzz11 changed the title Add update-only configuration option Add update-only configuration option Apr 27, 2023
@mshick
Copy link
Owner

mshick commented May 2, 2023

@ahatzz11 This looks good to me. Nice work and thanks for the contribution!

@mshick mshick merged commit 1dff58b into mshick:main May 2, 2023
@ahatzz11 ahatzz11 deleted the add-update-only-configuration branch May 2, 2023 22:13
@mshick
Copy link
Owner

mshick commented May 3, 2023

@all-contributors please add @ahatzz11 or code

@allcontributors
Copy link
Contributor

@mshick

I've put up a pull request to add @ahatzz11! 🎉

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.

Add update-only configuration option to prevent initial creation of a comment in certain cases
2 participants