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 the node_id to the available output #299

Merged
merged 1 commit into from Apr 2, 2024

Conversation

amonshiz
Copy link
Contributor

I would like to use this action to find comments for minimization but that seems to require using the GraphQL API. The GraphQL API requires the node_id for the minimizeComment and unminimizeComment mutations. Thankfully the REST API returns the GraphQL node_id property and as long as this passes it back we can then use it in GraphQL mutations!

I updated the action defintion, the declared shape of a Comment, and all the tests (both in ts and in the workflow).

Copy link
Owner

@peter-evans peter-evans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this contribution! LGTM

@peter-evans peter-evans merged commit 2e93ece into peter-evans:main Apr 2, 2024
5 checks passed
@amonshiz
Copy link
Contributor Author

amonshiz commented Apr 3, 2024

Thank you for accepting and sorry about missing the documentation!

@amonshiz amonshiz deleted the amonshiz/add-node-id branch April 3, 2024 19:09
@peter-evans
Copy link
Owner

No problem. Thank you! This was much more complete and tested than most contributions I receive. Appreciate it.

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.

None yet

2 participants