Free

Set up GitHub Actions build and tests: prompt

Use working local checks in GitHub Actions for pull requests and the main branch. Test a passing run, a deliberate failure and the corrected run.
Prompts

Where to use it

Use working local checks in GitHub Actions for pull requests and the main branch. Test a passing run, a deliberate failure and the corrected run.

  1. Open a practice project in Codex. The assistant will find installation, build and test commands in project files.
  2. Follow the GitHub Actions steps and check the result against the source.

You will have checks that distinguish working and broken versions. Disable the workflow to stop it; check schedules and issued secrets separately. Continue with Fix a project bug.

Paste into Codex:

Find the current project repository, main branch, instructions and dependency files. Determine the existing installation, build and test commands from the project and check them locally. Prepare GitHub Actions for pull requests and the main branch. If there are no tests, explain a useful check to add rather than invent a command.
Follow https://docs.github.com/en/actions/reference/security/secure-use for minimal permissions and full official action commit hashes. This workflow does not deploy.
Check a successful run, a deliberate practice test failure and success after fixing it. Explain each result and how to disable the workflow.
Saved