-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: backfill files by commit for rebased PRs (#2141)
* fix: backfill files by commit for rebased PRs Fixes #2140 * fix: always set commit PR from associated PRs --------- Co-authored-by: Jeff Ching <chingor@google.com>
- Loading branch information
1 parent
87f4a93
commit ee6d82f
Showing
4 changed files
with
198 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
{ | ||
"repository": { | ||
"ref": { | ||
"target": { | ||
"history": { | ||
"nodes": [ | ||
{ | ||
"associatedPullRequests": { | ||
"nodes": [ | ||
{ | ||
"number": 7, | ||
"title": "feat: feature that will be rebase merged", | ||
"baseRefName": "main", | ||
"headRefName": "feature-branch-rebase-merge", | ||
"labels": { | ||
"nodes": [] | ||
}, | ||
"body": "", | ||
"mergeCommit": { | ||
"oid": "b29149f890e6f76ee31ed128585744d4c598924c" | ||
}, | ||
"files": { | ||
"nodes": [] | ||
} | ||
} | ||
] | ||
}, | ||
"sha": "b29149f890e6f76ee31ed128585744d4c598924c", | ||
"message": "feat: feature-branch-rebase-merge commit 1" | ||
}, | ||
{ | ||
"associatedPullRequests": { | ||
"nodes": [ | ||
{ | ||
"number": 7, | ||
"title": "feat: feature that will be rebase merged", | ||
"baseRefName": "main", | ||
"headRefName": "feature-branch-rebase-merge", | ||
"labels": { | ||
"nodes": [] | ||
}, | ||
"body": "", | ||
"mergeCommit": { | ||
"oid": "b29149f890e6f76ee31ed128585744d4c598924c" | ||
}, | ||
"files": { | ||
"nodes": [] | ||
} | ||
} | ||
] | ||
}, | ||
"sha": "27d7d7232e2e312d1380e906984f0823f5decf61", | ||
"message": "feat: feature-branch-rebase-merge commit 2" | ||
}, | ||
{ | ||
"associatedPullRequests": { | ||
"nodes": [ | ||
{ | ||
"number": 6, | ||
"title": "feat: other pr", | ||
"baseRefName": "main", | ||
"headRefName": "feature-branch-other", | ||
"labels": { | ||
"nodes": [] | ||
}, | ||
"body": "", | ||
"mergeCommit": { | ||
"oid": "2b4e0b3be2e231cd87cc44c411bd8f84b4587ab5" | ||
}, | ||
"files": { | ||
"nodes": [] | ||
} | ||
} | ||
] | ||
}, | ||
"sha": "2b4e0b3be2e231cd87cc44c411bd8f84b4587ab5", | ||
"message": "fix: feature-branch-other" | ||
} | ||
], | ||
"pageInfo": { | ||
"hasNextPage": false, | ||
"endCursor": "e6daec403626c9987c7af0d97b34f324cd84320a 12" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters