diff --git a/dist/main/index.js b/dist/main/index.js index 4814f0e..665e44b 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -23573,6 +23573,7 @@ function run() { return; } let hasErrors; + core.startGroup("Commit messages"); for (let i = 0; i < context.payload.commits.length; i++) { let commit = context.payload.commits[i]; if (isValidCommitMessage(commit.message)) { @@ -23583,6 +23584,7 @@ function run() { hasErrors = true; } } + core.endGroup(); if (hasErrors) { core.setFailed(`🚫 According to the conventional-commits specification, some of the commit messages are not valid.`); } diff --git a/main.ts b/main.ts index d376bd8..e166fad 100644 --- a/main.ts +++ b/main.ts @@ -15,6 +15,7 @@ async function run() { } let hasErrors; + core.startGroup("Commit messages"); for (let i = 0; i < context.payload.commits.length; i++) { let commit = context.payload.commits[i]; if (isValidCommitMessage(commit.message)) { @@ -24,6 +25,7 @@ async function run() { hasErrors = true; } } + core.endGroup(); if (hasErrors) { core.setFailed(