diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-02-04 21:26:23 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-04-11 13:34:35 +0000 |
commit | 03ea0ff5dcee3410d5aa477541c0ef642da4f7ae (patch) | |
tree | 2e8e0856b1f936b0c268dc3560ffe8f2ea91dd69 /src/commit_pr.graphql | |
download | pushmail-03ea0ff5dcee3410d5aa477541c0ef642da4f7ae.tar pushmail-03ea0ff5dcee3410d5aa477541c0ef642da4f7ae.tar.gz pushmail-03ea0ff5dcee3410d5aa477541c0ef642da4f7ae.tar.bz2 pushmail-03ea0ff5dcee3410d5aa477541c0ef642da4f7ae.tar.lz pushmail-03ea0ff5dcee3410d5aa477541c0ef642da4f7ae.tar.xz pushmail-03ea0ff5dcee3410d5aa477541c0ef642da4f7ae.tar.zst pushmail-03ea0ff5dcee3410d5aa477541c0ef642da4f7ae.zip |
Initial commit
Diffstat (limited to 'src/commit_pr.graphql')
-rw-r--r-- | src/commit_pr.graphql | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/commit_pr.graphql b/src/commit_pr.graphql new file mode 100644 index 0000000..b231038 --- /dev/null +++ b/src/commit_pr.graphql @@ -0,0 +1,19 @@ +query CommitPRQuery($owner: String!, $repo: String!, $oid: GitObjectID) { + repository(owner: $owner, name: $repo) { + object(oid: $oid) { + __typename + ... on Commit { + associatedPullRequests(first: 1) { + nodes { + baseRepository { + owner { + __typename + login + } + } + } + } + } + } + } +} |