Skip to content

Commit 9f09fb9

Browse files
committed
chore: add more logging to changeset job
1 parent 08b15a7 commit 9f09fb9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/check-changeset-added.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,17 @@ jobs:
3131
// Merge group context
3232
if (isMergeGroup) {
3333
console.log("Running in merge_group context...");
34-
const { data: mergeQueue } = await github.rest.repos.listPullRequestsAssociatedWithCommit({
34+
const listPrResult = await github.rest.repos.listPullRequestsAssociatedWithCommit({
3535
owner: context.repo.owner,
3636
repo: context.repo.repo,
3737
commit_sha: context.sha
3838
});
3939
40+
console.log("list pr result");
41+
console.log(listPrResult);
42+
43+
const { data: mergeQueue } = listPrResult;
44+
4045
if (mergeQueue.length === 0) {
4146
console.log("No associated PRs found for this merge_group commit.");
4247
process.exit(1);

0 commit comments

Comments
 (0)