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

ci: wait for static checks before validating container images (#1949)

Michael D'Angelo436340a1aa63
diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml
index 11294e47c..3c38e62f6 100644
--- a/.github/workflows/node-ci.yml
+++ b/.github/workflows/node-ci.yml
@@ -107,7 +107,7 @@ jobs:
reuse-verified: true
container-validate:
- needs: [classify-changes, native]
+ needs: [classify-changes, native, static-checks]
if: needs.classify-changes.outputs.container-validate == 'true'
uses: ./.github/workflows/container-validate.yml
diff --git a/sdk/typescript/tests-ts/container-ci-workflow.test.ts b/sdk/typescript/tests-ts/container-ci-workflow.test.ts
index c4a94af03..cc8633a08 100644
--- a/sdk/typescript/tests-ts/container-ci-workflow.test.ts
+++ b/sdk/typescript/tests-ts/container-ci-workflow.test.ts
@@ -46,7 +46,7 @@ test("shares one native build and container matrix in automatic CI", () => {
),
).toEqual([ci.jobs["container-validate"]!]);
expect(ci.jobs["container-validate"]).toMatchObject({
- needs: ["classify-changes", "native"],
+ needs: ["classify-changes", "native", "static-checks"],
uses: "./.github/workflows/container-validate.yml",
});
expect(container.jobs["container"]).toMatchObject({