Because I'm wondering why my github action failed with the error that my custom env var couldn't be
Because I'm wondering why my github action failed with the error that my custom env var couldn't be read

t4-api:
✘ [ERROR] A request to the Cloudflare API (/accounts/<account>/workers/scripts/t4-api) failed.
Uncaught Error: The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).
at worker.js:12490:13 in OpenAI
at worker.js:12579:14
[code: 10021]
If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
The process '/home/runner/.bun/bin/bunx' failed with exit code 1
🚨 Action failed✘ [ERROR] A request to the Cloudflare API (/accounts/<account>/workers/scripts/t4-api) failed.
Uncaught Error: The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).
at worker.js:12490:13 in OpenAI
at worker.js:12579:14
[code: 10021]
If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
The process '/home/runner/.bun/bin/bunx' failed with exit code 1
🚨 Action failedt4-apiconst apiKey = process.env.OPENAI_API_KEY
const organization = process.env.OPENAI_ORG_ID
const openai = new OpenAI({ apiKey, organization }) constructor({
apiKey = Core.readEnv('OPENAI_API_KEY'),
organization = Core.readEnv('OPENAI_ORG_ID') ?? null,
...opts
}: ClientOptions = {}) {