Skip to content

Commit 3323a88

Browse files
committed
fix: extend GraphQL alias prefix to prevent hash collisions
1 parent 51c1473 commit 3323a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/success.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ function buildAssociatedPRsQuery(shas) {
457457
repository(owner: $owner, name: $repo) {
458458
${shas
459459
.map((sha) => {
460-
return `commit${sha.slice(0, 6)}: object(oid: "${sha}") {
460+
return `commit${sha.slice(0, 12)}: object(oid: "${sha}") {
461461
...on Commit {
462462
oid
463463
associatedPullRequests(first: 100) {

0 commit comments

Comments
 (0)