Skip to content

Fix errors in GitHub Actions Workflow script #1904

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

focusedbytes
Copy link

Summary

Fixes syntax and configuration issues in the GitHub Actions workflow example used for code quality and security scanning with OpenAI models. Specifically, adds a missing fi to a conditional block and updates the model parameter to use a configurable GitHub Actions variable (MODELNAME) instead of a hardcoded value.

Motivation

These changes fix a bash syntax error and allow more flexibility by enabling users to configure the OpenAI model through GitHub Actions variables. This makes the example more robust, reusable, and easier to integrate in varied CI/CD environments, improving the quality and adaptability of the cookbook content.

@focusedbytes focusedbytes marked this pull request as draft June 16, 2025 06:05
@focusedbytes focusedbytes marked this pull request as ready for review June 16, 2025 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant