Skip to content

Commit e93f405

Browse files
committed
feat: add --no-verify to ci commits
1 parent b442913 commit e93f405

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

.changeset/blue-birds-greet.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"lingo.dev": patch
3+
---
4+
5+
add --no-verify to ci commits

packages/cli/src/cli/cmd/ci/flows/in-branch.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@ export class InBranchFlow extends IntegrationFlow {
2727
this.ora.start("Committing changes");
2828
execSync(`git add .`, { stdio: "inherit" });
2929
execSync(`git status --porcelain`, { stdio: "inherit" });
30-
execSync(`git commit -m "${this.platformKit.config.commitMessage}"`, {
31-
stdio: "inherit",
32-
});
30+
execSync(
31+
`git commit -m "${this.platformKit.config.commitMessage}" --no-verify`,
32+
{
33+
stdio: "inherit",
34+
},
35+
);
3336
this.ora.succeed("Changes committed");
3437

3538
this.ora.start("Pushing changes to remote");

packages/cli/src/cli/cmd/ci/flows/pull-request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export class PullRequestFlow extends InBranchFlow {
193193
if (hasChanges) {
194194
execSync("git add .", { stdio: "inherit" });
195195
execSync(
196-
`git commit -m "chore: sync with ${this.platformKit.platformConfig.baseBranchName}"`,
196+
`git commit -m "chore: sync with ${this.platformKit.platformConfig.baseBranchName}" --no-verify`,
197197
{
198198
stdio: "inherit",
199199
},

0 commit comments

Comments
 (0)