Skip to content

Commit

Permalink
[actions] publish action: hopefully clarify failure reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 22, 2024
1 parent 4776b2e commit 7d101db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ jobs:
const pending = checkSuites.filter(({ status }) => status !== 'completed')
if (pending.length > 0) {
core.setFailed(`Some workflows for ${context.payload.inputs.tag} are still in-progress: ${JSON.stringify(pending)}`);
core.setFailed(`Some workflows for ${context.payload.inputs.tag} are still in-progress`);
pending.forEach(({ pull_requests, ...x }) => {
core.debug(JSON.stringify(x));
});
}
const result = await Promise.all(
Expand Down

0 comments on commit 7d101db

Please sign in to comment.