Skip to content

Commit 70f2f49

Browse files
authored
chore: use skip-checks trailers [skip-bc] (#3982)
1 parent e3ec895 commit 70f2f49

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

scripts/ci/codegen/pushGeneratedCode.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,18 @@ export async function pushGeneratedCode(): Promise<void> {
5656
let baseMessage = IS_RELEASE_COMMIT && isMainBranch ? text.commitReleaseMessage : `%s ${text.commitEndMessage}`;
5757

5858
const commitMessage = await run(
59-
`git show -s ${baseBranch} --format="${baseMessage} [skip-ci]
59+
`git show -s ${baseBranch} --format="${baseMessage}
60+
6061
6162
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)"`,
6366
);
6467

6568
console.log(`Pushing code to generated branch: '${branchToPush}'`);
6669
await run('git add .');
67-
await run(`git commit -m "${commitMessage.replaceAll('"', '\\"')}"`);
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'));

specs/ingestion/spec.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ info:
3333
## Response status and errors
3434
3535
Response bodies are JSON objects.
36-
Deleting a user token returns an empty response body with rate-limiting information as headers.
3736
3837
Successful responses return a `2xx` status. Client errors return a `4xx` status. Server errors are indicated by a `5xx` status.
3938
Error responses have a `message` property with more information.

0 commit comments

Comments
 (0)