Skip to content

Commit a0ea6be

Browse files
committed
chore: command instead
1 parent 2a2c77e commit a0ea6be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/ci/codegen/pushGeneratedCode.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,12 @@ export async function pushGeneratedCode(): Promise<void> {
5959
`git show -s ${baseBranch} --format="${baseMessage}
6060
6161
Co-authored-by: %an <%ae>
62-
%(trailers:key=skip-checks)"
6362
%(trailers:key=Co-authored-by)"`,
6463
);
6564

6665
console.log(`Pushing code to generated branch: '${branchToPush}'`);
6766
await run('git add .');
68-
await run(`git commit -m "${commitMessage.replaceAll('"', '\\"')}"`);
67+
await run(`git commit -m "${commitMessage.replaceAll('"', '\\"')}" --trailer skip-checks:true --cleanup=verbatim`);
6968
await run(`git push origin ${branchToPush}`);
7069

7170
setOutput('GENERATED_COMMIT', await run('git rev-parse HEAD'));

0 commit comments

Comments
 (0)