We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4d3b96 commit 7fb22abCopy full SHA for 7fb22ab
1 file changed
script/beta.ts
@@ -66,7 +66,8 @@ async function main() {
66
const compare = `${repo.nameWithOwner}/compare/dev...${head.headRepository.nameWithOwner}:${head.headRefName}`
67
const diffResult = await $`gh api -H Accept:application/vnd.github.v3.diff repos/${compare}`.nothrow()
68
if (diffResult.exitCode !== 0) {
69
- console.log(` Failed to get diff`)
+ console.log(` Failed to get diff: ${diffResult.stderr}`)
70
+ console.log(` Compare: ${compare}`)
71
skipped.push({ number: pr.number, reason: `Failed to get diff: ${diffResult.stderr}` })
72
continue
73
}
0 commit comments