Skip to content

Commit

Permalink
Streamline output for workflow info
Browse files Browse the repository at this point in the history
  • Loading branch information
lbianchi-lbl committed Mar 6, 2024
1 parent 84fb5dd commit b50a56e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/check-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
});
core.notice(JSON.stringify(resp));
const runInfo = resp.data;
core.notice(JSON.stringify(runInfo));
for (const wf of runInfo.referenced_workflows) {
core.notice(JSON.stringify(wf));
const txt = JSON.stringify(wf, null, 4);
core.notice(txt);
core.summary.addCodeBlock(txt, 'json');
}
core.summary.write()

0 comments on commit b50a56e

Please sign in to comment.