This is a drop-in, zero-config Actions harness for OpenAI's Codex agent. It uses GitHub Models for inference, so you don't need to set up any secrets - just copy-pasting the action into your repo should work as-is.
You may need to go into your settings and check the "allow Actions to open PRs" checkbox.
To use it, open an issue in your repo with [codex]
in the issue name.
Note: I've updated this to work for the latest version of Codex (the Rust one). If you're using the Python one, you'll have to go to a previous version of this Gist.
The biggest blocker for me when evaluating your workflow is this:
And after 9 retries:
And the github action execution just hangs... it neither auto-recovers, nor stops. if I didn't terminate the action manually, it would run for max = 6 hours and spend 6 * 60 = 360 minutes (!) from my Github Actions quota.
I doubt this coding agent needs to work for 6 hours straight. Please, consider adding a restriction like
timeout-minutes: 20
.