Skip to content

Commit 04e9eb4

Browse files
committed
foo
Co-authored-by: shortcuts <[email protected]> skip-checks: true
1 parent 2221465 commit 04e9eb4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/ci/codegen/pushGeneratedCode.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,16 @@ export async function pushGeneratedCode(): Promise<void> {
5858
const commitMessage = await run(
5959
`git show -s ${baseBranch} --format="${baseMessage}
6060
61+
6162
Co-authored-by: %an <%ae>
63+
skip-checks: true
64+
%(trailers:key=skip-checks)
6265
%(trailers:key=Co-authored-by)"`,
6366
);
6467

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

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

0 commit comments

Comments
 (0)