-
Notifications
You must be signed in to change notification settings - Fork 129
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
fix(success): PRs not recognized as resolved issues #960
Conversation
…l fields for `PullRequest`
…`type` parameter and include `__typename` in queries to use in its place
…quest` for improved query flexibility
…ccess tests for improved type handling
… in integration tests
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.
this is great! thanks for digging in and finding a resolution to this!
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.
Let's goo!!
🎉 This PR is included in version 11.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This Pull Request address the case where a PR resolved in the body of an associatedPR of a commit is neither recognized as an Issue nor a PR.
Changes Made
buildRelatedIssuesQuery
's GraphQL query which fetches details for related resolved Issues found in PR body/commit message to fetch for PRs too in cases where a PR is found resolved in the PR body/commit messages. This introduced the usage of the"repository".issueOrPullRequest
object replacing the initial"repository".issue
.__typename
field to response object of all graphql request for issues and prs in the success lifecycle which was inturn used as stated in next change...type
paramater in thebuildIssuesOrPRsFromResponseNode
util, leaving its function to being performed by the newly introduced__typename
property per nodeRelated Issue
Fixes #942