Closed montao closed 7 months ago
We can try and create an environment named OPENAI_API_KEY with a secret named OPENAI_API_KEY and the value of that secret is an API key, then it should work, as seen in the workflow in my fork of it. https://github.com/montao/DraftGPT/actions/runs/8381917961/job/22954544537
The purpose of this pull request is to enable the usage of the Open AI API key in the Github actions workflow. It needs an environment and an environment secret both with the same name OPENAI_API_KEY. Then it will run and connect to the OpenAI API in the GHA workflow as seen in the figure.