Require polling Gitea workflows to completion

This commit is contained in:
MrSphay
2026-05-03 02:16:02 +02:00
parent a0552ff51e
commit 356c4810ca
5 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ PROJECT_NAME: PROJECT_DESCRIPTION
- Do not rewrite history or run destructive git commands unless explicitly requested.
- Do not create a release unless explicitly requested.
- If `GITEA_TOKEN` is available locally, use it only for read-only Gitea API checks such as private repository metadata, package-read visibility, and Actions run status. Never print, commit, or store the token.
- After pushing commits that trigger a Gitea workflow, check the workflow run before finishing. If it fails, inspect the failing job/logs, fix the issue when in scope, push again, and continue the check loop.
- After pushing commits that trigger a Gitea workflow, poll the workflow run until it succeeds or fails. If it fails or is cancelled, inspect the failing job/logs, fix the issue when in scope, push again, and repeat the workflow check loop.
## Commands