fix(ci): gate deploy on quality checks #13
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/philipmruth.com!13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/gate-publish-on-quality"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The deploy workflow starts on the same main-branch push as the quality workflow, so production deploy can begin before Format, Lint, and Build have all finished successfully.
Solution
Add a deploy-side wait gate that polls the Forgejo commit status API for the main-push quality contexts:
The deploy job is also restricted to refs/heads/main so manual dispatches do not deploy arbitrary branches.
Verification