Commit 8ff58ca 1 parent 9f09fb9 commit 8ff58ca Copy full SHA for 8ff58ca
File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -30,18 +30,16 @@ jobs:
30
30
31
31
// Merge group context
32
32
if (isMergeGroup) {
33
+ console.log("Merge group context");
34
+ console.log(context)
35
+
33
36
console.log("Running in merge_group context...");
34
- const listPrResult = await github.rest.repos.listPullRequestsAssociatedWithCommit({
37
+ const { data: mergeQueue } = await github.rest.repos.listPullRequestsAssociatedWithCommit({
35
38
owner: context.repo.owner,
36
39
repo: context.repo.repo,
37
40
commit_sha: context.sha
38
41
});
39
42
40
- console.log("list pr result");
41
- console.log(listPrResult);
42
-
43
- const { data: mergeQueue } = listPrResult;
44
-
45
43
if (mergeQueue.length === 0) {
46
44
console.log("No associated PRs found for this merge_group commit.");
47
45
process.exit(1);
You can’t perform that action at this time.
0 commit comments