Skip to content

Commit b244638

Browse files
committed
[actions] publish action: hopefully clarify failure reasons
1 parent 256cf74 commit b244638

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/npm-publish.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ jobs:
6363
const pending = checkSuites.filter(({ status }) => status !== 'completed')
6464
6565
if (pending.length > 0) {
66-
core.setFailed(`Some workflows for ${context.payload.inputs.tag} are still in-progress: ${JSON.stringify(pending)}`);
66+
core.setFailed(`Some workflows for ${context.payload.inputs.tag} are still in-progress`);
67+
pending.forEach(({ pull_requests, ...x }) => {
68+
core.debug(JSON.stringify(x));
69+
});
6770
}
6871
6972
const result = await Promise.all(

0 commit comments

Comments
 (0)