We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ef8a83 commit 10534c7Copy full SHA for 10534c7
action/src/flows/in-branch.ts
@@ -75,7 +75,10 @@ export class InBranchFlow extends IntegrationFlow {
75
const currentAuthor = `${gitConfig.userName} <${gitConfig.userEmail}>`;
76
const authorOfLastCommit = execSync(`git log -1 --pretty=format:'%an <%ae>'`).toString();
77
if (authorOfLastCommit === currentAuthor) {
78
- this.ora.fail(`The action will not run on commits by ${currentAuthor}`);
+ this.ora.warn(`The action will not run on commits by ${currentAuthor}`);
79
+ this.ora.warn(
80
+ `The last commit was already made by this action. Running this action again will not change anything.`,
81
+ );
82
return false;
83
}
84
0 commit comments