Skip to content

OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

test(release): remove redundant workflow source assertion (#406)

mldangelo-oai2db2f81f8203
diff --git a/sdk/typescript/tests-ts/release-automation.test.ts b/sdk/typescript/tests-ts/release-automation.test.ts
index b2bfc1f19..c444b48cc 100644
--- a/sdk/typescript/tests-ts/release-automation.test.ts
+++ b/sdk/typescript/tests-ts/release-automation.test.ts
@@ -3307,15 +3307,6 @@ describe("GitHub release workflow safeguards", () => {
},
);
- test("recovers when another PR concurrently creates the skip label", () => {
- expect(releaseLabelsWorkflow).toContain(
- 'if ! gh api --method POST "repos/$GITHUB_REPOSITORY/labels"',
- );
- expect(releaseLabelsWorkflow).toContain(
- '"repos/$GITHUB_REPOSITORY/labels/skip-release-notes"',
- );
- });
-
test.each([
{ title: "feat!: breaking feature", label: "enhancement" },
{ title: "feat(api)!: breaking feature", label: "enhancement" },