Require Gitea workflow status loop

This commit is contained in:
MrSphay
2026-05-03 02:10:10 +02:00
parent 28fbaf37d4
commit a0552ff51e
5 changed files with 11 additions and 0 deletions

View File

@@ -91,6 +91,10 @@ Authorization: token GITEA_TOKEN
`REGISTRY_TOKEN` is still the intended secret name for CI package publishing inside `.gitea/workflows/build.yml`.
## Gitea Workflow Loop
After pushing commits that add or change a Gitea workflow, Codex agents must check the resulting workflow run before finishing. If the run is still pending or in progress, report that status and keep checking when the user expects the agent loop to continue. If the run fails, inspect the failing job/logs, fix the issue when it is in scope, commit, push, and check the next run.
## Agent Prompt For A New Repo
```text