Skip to content

Instantly share code, notes, and snippets.

@chingor13
Created March 9, 2021 22:19
Show Gist options
  • Save chingor13/8bcdaf992020d89d0c404a3bbbbeff9a to your computer and use it in GitHub Desktop.
Save chingor13/8bcdaf992020d89d0c404a3bbbbeff9a to your computer and use it in GitHub Desktop.
commits-with-pull-requests.json
{
"data": {
"repository": {
"ref": {
"target": {
"history": {
"nodes": [
{
"associatedPullRequests": {
"nodes": [
{
"number": 7,
"title": "feat: feature that will be plain merged",
"baseRefName": "main",
"headRefName": "feature-branch-plain-merge",
"labels": {
"nodes": []
},
"body": "",
"mergeCommit": {
"oid": "e6daec403626c9987c7af0d97b34f324cd84320a"
}
}
]
},
"sha": "e6daec403626c9987c7af0d97b34f324cd84320a",
"message": "Merge pull request #7 from chingor13/feature-branch-plain-merge\n\nfeat: feature that will be plain merged"
},
{
"associatedPullRequests": {
"nodes": [
{
"number": 7,
"title": "feat: feature that will be plain merged",
"baseRefName": "main",
"headRefName": "feature-branch-plain-merge",
"labels": {
"nodes": []
},
"body": "",
"mergeCommit": {
"oid": "e6daec403626c9987c7af0d97b34f324cd84320a"
}
}
]
},
"sha": "b29149f890e6f76ee31ed128585744d4c598924c",
"message": "feat: feature-branch-plain-merge commit 2"
},
{
"associatedPullRequests": {
"nodes": [
{
"number": 7,
"title": "feat: feature that will be plain merged",
"baseRefName": "main",
"headRefName": "feature-branch-plain-merge",
"labels": {
"nodes": []
},
"body": "",
"mergeCommit": {
"oid": "e6daec403626c9987c7af0d97b34f324cd84320a"
}
}
]
},
"sha": "27d7d7232e2e312d1380e906984f0823f5decf61",
"message": "feat: feature-branch-plain-merge commit 1"
},
{
"associatedPullRequests": {
"nodes": [
{
"number": 6,
"title": "feat: feature that will be rebase merged",
"baseRefName": "main",
"headRefName": "feature-branch-merge",
"labels": {
"nodes": []
},
"body": "",
"mergeCommit": {
"oid": "2b4e0b3be2e231cd87cc44c411bd8f84b4587ab5"
}
}
]
},
"sha": "2b4e0b3be2e231cd87cc44c411bd8f84b4587ab5",
"message": "fix: feature-branch-merge fix 1"
},
{
"associatedPullRequests": {
"nodes": [
{
"number": 6,
"title": "feat: feature that will be rebase merged",
"baseRefName": "main",
"headRefName": "feature-branch-merge",
"labels": {
"nodes": []
},
"body": "",
"mergeCommit": {
"oid": "2b4e0b3be2e231cd87cc44c411bd8f84b4587ab5"
}
}
]
},
"sha": "a257514a541d483425118d973674b1ce006a5489",
"message": "chore: feature-branch-merge lint"
},
{
"associatedPullRequests": {
"nodes": [
{
"number": 6,
"title": "feat: feature that will be rebase merged",
"baseRefName": "main",
"headRefName": "feature-branch-merge",
"labels": {
"nodes": []
},
"body": "",
"mergeCommit": {
"oid": "2b4e0b3be2e231cd87cc44c411bd8f84b4587ab5"
}
}
]
},
"sha": "b6a8ab1a50106cfb03f22c2cdaf7abfdcccce088",
"message": "feat: feature-branch-merge commit 2"
},
{
"associatedPullRequests": {
"nodes": [
{
"number": 6,
"title": "feat: feature that will be rebase merged",
"baseRefName": "main",
"headRefName": "feature-branch-merge",
"labels": {
"nodes": []
},
"body": "",
"mergeCommit": {
"oid": "2b4e0b3be2e231cd87cc44c411bd8f84b4587ab5"
}
}
]
},
"sha": "520b6f42551c86002197d033564a76a3f99b0019",
"message": "feat: feature-branch-merge commit 1"
},
{
"associatedPullRequests": {
"nodes": [
{
"number": 3,
"title": "chore(main): release 0.1.1-SNAPSHOT",
"baseRefName": "main",
"headRefName": "release-please/branches/main",
"labels": {
"nodes": [
{
"name": "type: process"
}
]
},
"body": ":robot: I have created a release \\*beep\\* \\*boop\\* \n---\n### Updating meta-information for bleeding-edge SNAPSHOT release.\n---\n\n\nThis PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).",
"mergeCommit": {
"oid": "9dda1a331d311d0a7643015cc9e6802548c8d943"
}
}
]
},
"sha": "9dda1a331d311d0a7643015cc9e6802548c8d943",
"message": "chore(main): release 0.1.1-SNAPSHOT (#3)"
},
{
"associatedPullRequests": {
"nodes": [
{
"number": 2,
"title": "feat: feature-branch that will be squash merged",
"baseRefName": "main",
"headRefName": "feature-branch",
"labels": {
"nodes": []
},
"body": "",
"mergeCommit": {
"oid": "e86984fb22ccc5eafb6c3d815851ade3463193da"
}
}
]
},
"sha": "e86984fb22ccc5eafb6c3d815851ade3463193da",
"message": "feat: feature-branch that will be squash merged (#2)\n\n* feat: feature-branch commit 1\r\n\r\n* feat: feature-branch commit 2\r\n\r\n* chore: fix lint\r\n\r\n* fix: feature-branch fix 1"
},
{
"associatedPullRequests": {
"nodes": []
},
"sha": "0cda26c2e7776748072ba5a24302474947b3ebbd",
"message": "build: add release-please bot"
},
{
"associatedPullRequests": {
"nodes": [
{
"number": 1,
"title": "Release release-please-test v0.1.0",
"baseRefName": "main",
"headRefName": "release-release-please-test-v0.1.0",
"labels": {
"nodes": [
{
"name": "autorelease: tagged"
}
]
},
"body": "This pull request was generated using releasetool.\n\n02-03-2021 11:56 PST\n\n### New Features\n- feat: initial commit\n\n### Internal / Testing Changes\n- build: add java structure",
"mergeCommit": {
"oid": "959ee48c95f254300eb040c46ebdc8248317efe4"
}
}
]
},
"sha": "959ee48c95f254300eb040c46ebdc8248317efe4",
"message": "Release v0.1.0 (#1)"
},
{
"associatedPullRequests": {
"nodes": []
},
"sha": "c6d9dfb03aa2dbe1abc329592af60713fe28586d",
"message": "build: add java structure"
},
{
"associatedPullRequests": {
"nodes": []
},
"sha": "c8f1498c92c323bfa8f5ffe84e0ade1c37e4ea6e",
"message": "feat: initial commit"
}
],
"pageInfo": {
"hasNextPage": false,
"endCursor": "e6daec403626c9987c7af0d97b34f324cd84320a 12"
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment