File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -56,15 +56,18 @@ export async function pushGeneratedCode(): Promise<void> {
56
56
let baseMessage = IS_RELEASE_COMMIT && isMainBranch ? text . commitReleaseMessage : `%s ${ text . commitEndMessage } ` ;
57
57
58
58
const commitMessage = await run (
59
- `git show -s ${ baseBranch } --format="${ baseMessage } [skip-ci]
59
+ `git show -s ${ baseBranch } --format="${ baseMessage }
60
+
60
61
61
62
Co-authored-by: %an <%ae>
62
- %(trailers:key=Co-authored-by)"` ,
63
+ skip-checks: true
64
+ %(trailers:key=Co-authored-by)
65
+ %(trailers:key=skip-checks)"` ,
63
66
) ;
64
67
65
68
console . log ( `Pushing code to generated branch: '${ branchToPush } '` ) ;
66
69
await run ( 'git add .' ) ;
67
- await run ( `git commit -m "${ commitMessage . replaceAll ( '"' , '\\"' ) } "` ) ;
70
+ await run ( `git commit -m "${ commitMessage . replaceAll ( '"' , '\\"' ) } " --cleanup=verbatim ` ) ;
68
71
await run ( `git push origin ${ branchToPush } ` ) ;
69
72
70
73
setOutput ( 'GENERATED_COMMIT' , await run ( 'git rev-parse HEAD' ) ) ;
Original file line number Diff line number Diff line change 33
33
## Response status and errors
34
34
35
35
Response bodies are JSON objects.
36
- Deleting a user token returns an empty response body with rate-limiting information as headers.
37
36
38
37
Successful responses return a `2xx` status. Client errors return a `4xx` status. Server errors are indicated by a `5xx` status.
39
38
Error responses have a `message` property with more information.
You can’t perform that action at this time.
0 commit comments