The first publish from the admin after the move (content 4634fb1, PR #2) stopped at its pull request: CI's publish job tried to merge twice and Gitea answered 405 "Not all required status checks successful". Gitea 28.4 writes commit statuses for push and pull_request runs only, never for a dispatched run, so the content/bump commit never got the CI / build (*) status main's branch protection requires.
Fix
ci.yml publish job: needs: build, now if: always(); it records build's result as CI / build (workflow_dispatch) on the commit it built (with the run link), then merges and dispatches the deploy only when build passed and the PR body says auto. A failed build is recorded as a failure (the admin shows "xuất bản lỗi" instead of building forever); a cancelled one records nothing.
scripts/content-publish.mjs + tests (8 cases).
Docs 08 §0b and CHANGELOG 2.4.1.
Kind of change
Bug fix
Checks
typecheck, lint, knip, astro check, npm test (253) green locally
After merge: re-run content-bump so PR #2 is rebuilt on the new main, and watch the publish job record the status, merge and deploy.
## What and why
The first publish from the admin after the move (content 4634fb1, PR #2) stopped at its pull request: CI's publish job tried to merge twice and Gitea answered **405 "Not all required status checks successful"**. Gitea 28.4 writes commit statuses for push and pull_request runs only, never for a dispatched run, so the content/bump commit never got the `CI / build (*)` status main's branch protection requires.
## Fix
- `ci.yml` publish job: `needs: build`, now `if: always()`; it records build's result as `CI / build (workflow_dispatch)` on the commit it built (with the run link), then merges and dispatches the deploy only when build passed and the PR body says auto. A failed build is recorded as a failure (the admin shows "xuất bản lỗi" instead of building forever); a cancelled one records nothing.
- `scripts/content-publish.mjs` + tests (8 cases).
- Docs 08 §0b and CHANGELOG 2.4.1.
## Kind of change
- [x] Bug fix
## Checks
- [x] typecheck, lint, knip, astro check, `npm test` (253) green locally
After merge: re-run content-bump so PR #2 is rebuilt on the new main, and watch the publish job record the status, merge and deploy.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The first publish from the admin after the move stopped at its pull request: CI's
publish job tried to merge twice and Gitea answered 405 "Not all required status
checks successful". Gitea 28.4 writes commit statuses for push and pull_request runs
only, never for a dispatched run, so the content/bump commit never got the
`CI / build (*)` status branch protection requires.
The publish job (needs: build, now if: always()) records build's result as
`CI / build (workflow_dispatch)` on the commit it built, with a link to the run, and
only then merges and dispatches the deploy. A failed build is recorded as a failure and
merges nothing, so the admin shows "xuất bản lỗi" instead of building forever; a
cancelled one records nothing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What and why
The first publish from the admin after the move (content 4634fb1, PR #2) stopped at its pull request: CI's publish job tried to merge twice and Gitea answered 405 "Not all required status checks successful". Gitea 28.4 writes commit statuses for push and pull_request runs only, never for a dispatched run, so the content/bump commit never got the
CI / build (*)status main's branch protection requires.Fix
ci.ymlpublish job:needs: build, nowif: always(); it records build's result asCI / build (workflow_dispatch)on the commit it built (with the run link), then merges and dispatches the deploy only when build passed and the PR body says auto. A failed build is recorded as a failure (the admin shows "xuất bản lỗi" instead of building forever); a cancelled one records nothing.scripts/content-publish.mjs+ tests (8 cases).Kind of change
Checks
npm test(253) green locallyAfter merge: re-run content-bump so PR #2 is rebuilt on the new main, and watch the publish job record the status, merge and deploy.
🤖 Generated with Claude Code