Skip to content

Commit 451da04

Browse files
committed
fix(action): warning message
1 parent 4ce0ea5 commit 451da04

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

action/src/flows/in-branch.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@ export class InBranchFlow extends IntegrationFlow {
7777
const currentAuthor = `${gitConfig.userName} <${gitConfig.userEmail}>`;
7878
const authorOfLastCommit = execSync(`git log -1 --pretty=format:'%an <%ae>'`).toString();
7979
if (authorOfLastCommit === currentAuthor) {
80-
this.ora.warn(`The action will not run on commits by ${currentAuthor}`);
8180
this.ora.warn(
82-
`The last commit was already made by this action. Running this action again will not change anything.`,
81+
`The last commit was already made by ${currentAuthor}, so this run will be skipped, as running again would have no effect. See docs: https://docs.lingo.dev/ci-action/overview`,
8382
);
8483
return false;
8584
}

0 commit comments

Comments
 (0)