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

how to use issuePayload.getIssue().deleteReaction? #1846

Open
maxandersen opened this issue May 24, 2024 · 1 comment
Open

how to use issuePayload.getIssue().deleteReaction? #1846

maxandersen opened this issue May 24, 2024 · 1 comment

Comments

@maxandersen
Copy link

how is issuePayload.getIssue().deleteReaction intended to be used when its not possible to create a GHReaction with bot nor user + reaction as parameter?

@gsmet
Copy link
Contributor

gsmet commented May 24, 2024

Not pretty but I think that's the best you can do: https://github.com/quarkusio/conversational-release-action/blob/3c6befcf4836bf9833ac0b488cf8d79cccb8958b/src/main/java/io/quarkus/bot/release/ReleaseAction.java#L318-L327 .

There's no way to get a given reaction with the GitHub REST API.

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

No branches or pull requests

3 participants