You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consterrorMsg=`❌ Commit ${sha} has an invalid message format: "${commitMessage}"`;
39
39
core.error(errorMsg);
@@ -43,7 +43,7 @@ async function run() {
43
43
core.info(`✅ Commit ${sha} has a valid message: "${commitMessage}"`);
44
44
}
45
45
});
46
-
46
+
47
47
// Fail the workflow if errors are found
48
48
if(hasError){
49
49
core.setFailed(`One or more commits have invalid message format.\n${errorMessages.join('\n')}\n\nPlease follow the Conventional Commits format: <type>[optional scope]: <description>\nExample: feat(auth): add login functionality\n\nFor more information, visit: https://www.conventionalcommits.org/`);
0 commit comments