We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08b15a7 commit 9f09fb9Copy full SHA for 9f09fb9
.github/workflows/check-changeset-added.yml
@@ -31,12 +31,17 @@ jobs:
31
// Merge group context
32
if (isMergeGroup) {
33
console.log("Running in merge_group context...");
34
- const { data: mergeQueue } = await github.rest.repos.listPullRequestsAssociatedWithCommit({
+ const listPrResult = await github.rest.repos.listPullRequestsAssociatedWithCommit({
35
owner: context.repo.owner,
36
repo: context.repo.repo,
37
commit_sha: context.sha
38
});
39
40
+ console.log("list pr result");
41
+ console.log(listPrResult);
42
+
43
+ const { data: mergeQueue } = listPrResult;
44
45
if (mergeQueue.length === 0) {
46
console.log("No associated PRs found for this merge_group commit.");
47
process.exit(1);
0 commit comments