-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Conversation
There was a problem hiding this 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
Thank you for accepting and sorry about missing the documentation! |
No problem. Thank you! This was much more complete and tested than most contributions I receive. Appreciate it. |
#730) This PR contains the following updates: | Package | Type | Update | Change | OpenSSF | |---|---|---|---|---| | [peter-evans/find-comment](https://github.com/peter-evans/find-comment) | action | minor | `v3.0.0` -> `v3.1.0` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/peter-evans/find-comment/badge)](https://securityscorecards.dev/viewer/?uri=github.com/peter-evans/find-comment) | --- ### Release Notes <details> <summary>peter-evans/find-comment (peter-evans/find-comment)</summary> ### [`v3.1.0`](https://github.com/peter-evans/find-comment/releases/tag/v3.1.0) [Compare Source](https://github.com/peter-evans/find-comment/compare/v3.0.0...v3.1.0) ##### What's Changed - build(deps-dev): bump [@​types/node](https://github.com/types/node) from 18.19.8 to 18.19.10 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/283](https://github.com/peter-evans/find-comment/pull/283) - build(deps-dev): bump [@​types/node](https://github.com/types/node) from 18.19.10 to 18.19.14 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/284](https://github.com/peter-evans/find-comment/pull/284) - build(deps): bump peter-evans/create-pull-request from 5 to 6 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/285](https://github.com/peter-evans/find-comment/pull/285) - build(deps): bump peter-evans/slash-command-dispatch from 3 to 4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/286](https://github.com/peter-evans/find-comment/pull/286) - build(deps-dev): bump [@​types/node](https://github.com/types/node) from 18.19.14 to 18.19.15 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/287](https://github.com/peter-evans/find-comment/pull/287) - build(deps-dev): bump prettier from 3.2.4 to 3.2.5 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/288](https://github.com/peter-evans/find-comment/pull/288) - build(deps-dev): bump eslint-plugin-jest from 27.6.3 to 27.9.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/289](https://github.com/peter-evans/find-comment/pull/289) - build(deps-dev): bump [@​types/node](https://github.com/types/node) from 18.19.15 to 18.19.17 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/290](https://github.com/peter-evans/find-comment/pull/290) - build(deps-dev): bump eslint from 8.56.0 to 8.57.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/291](https://github.com/peter-evans/find-comment/pull/291) - build(deps-dev): bump [@​types/node](https://github.com/types/node) from 18.19.17 to 18.19.18 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/292](https://github.com/peter-evans/find-comment/pull/292) - build(deps-dev): bump [@​types/node](https://github.com/types/node) from 18.19.18 to 18.19.21 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/293](https://github.com/peter-evans/find-comment/pull/293) - build(deps-dev): bump eslint-plugin-github from 4.10.1 to 4.10.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/294](https://github.com/peter-evans/find-comment/pull/294) - build(deps-dev): bump [@​types/node](https://github.com/types/node) from 18.19.21 to 18.19.22 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/295](https://github.com/peter-evans/find-comment/pull/295) - build(deps-dev): bump [@​types/node](https://github.com/types/node) from 18.19.22 to 18.19.24 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/297](https://github.com/peter-evans/find-comment/pull/297) - build(deps-dev): bump [@​types/node](https://github.com/types/node) from 18.19.24 to 18.19.26 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/298](https://github.com/peter-evans/find-comment/pull/298) - build(deps-dev): bump [@​types/node](https://github.com/types/node) from 18.19.26 to 18.19.28 by [@​dependabot](https://github.com/dependabot) in [https://github.com/peter-evans/find-comment/pull/300](https://github.com/peter-evans/find-comment/pull/300) - feat: add the node_id to the available output by [@​amonshiz](https://github.com/amonshiz) in [https://github.com/peter-evans/find-comment/pull/299](https://github.com/peter-evans/find-comment/pull/299) ##### New Contributors - [@​amonshiz](https://github.com/amonshiz) made their first contribution in [https://github.com/peter-evans/find-comment/pull/299](https://github.com/peter-evans/find-comment/pull/299) **Full Changelog**: peter-evans/find-comment@v3.0.0...v3.1.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJzZW12ZXI6bm9uZSJdfQ==--> Co-authored-by: mazi-renovate[bot] <161091290+mazi-renovate[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GitHub 644 JOSEPH E LOWREY BLVD ATLANTA GEORGIA;30318 2144802761
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 theminimizeComment
andunminimizeComment
mutations. Thankfully the REST API returns the GraphQLnode_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 ints
and in the workflow).