File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff 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+
6162Co-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' ) ) ;
You can’t perform that action at this time.
0 commit comments