Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions scripts/ci/codegen/pushGeneratedCode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,18 @@ export async function pushGeneratedCode(): Promise<void> {
let baseMessage = IS_RELEASE_COMMIT && isMainBranch ? text.commitReleaseMessage : `%s ${text.commitEndMessage}`;

const commitMessage = await run(
`git show -s ${baseBranch} --format="${baseMessage} [skip-ci]
`git show -s ${baseBranch} --format="${baseMessage}


Co-authored-by: %an <%ae>
%(trailers:key=Co-authored-by)"`,
skip-checks: true
%(trailers:key=Co-authored-by)
%(trailers:key=skip-checks)"`,
);

console.log(`Pushing code to generated branch: '${branchToPush}'`);
await run('git add .');
await run(`git commit -m "${commitMessage.replaceAll('"', '\\"')}"`);
await run(`git commit -m "${commitMessage.replaceAll('"', '\\"')}" --cleanup=verbatim`);
await run(`git push origin ${branchToPush}`);

setOutput('GENERATED_COMMIT', await run('git rev-parse HEAD'));
Expand Down
1 change: 0 additions & 1 deletion specs/ingestion/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ info:
## Response status and errors

Response bodies are JSON objects.
Deleting a user token returns an empty response body with rate-limiting information as headers.

Successful responses return a `2xx` status. Client errors return a `4xx` status. Server errors are indicated by a `5xx` status.
Error responses have a `message` property with more information.
Expand Down
Loading