generated from web/flango
chore(ci): align Forgejo workflows with bootcamp trigger and publish rules #15
Labels
No labels
NaNs
area/backup
area/dsh
area/forgejo
area/host
area/security
area/web
bootcamp
needs-operator
note
priority/later
priority/next
priority/now
type/bug
type/task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
web/web-frontend#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Scope
The bootcamp says a published project must not run workflows on
pull_request(the shared runner gives jobs the host Docker socket) and real publishes happen only fromv*tags; a manual run is a dry run.Changes
ci.yml: trigger on pushes tomasterand manual dispatch only; droppull_request.publish.yml: trigger onv*tags and manual dispatch; build on manual, push only on a tag.pyproject.tomlversion before pushing the image.latest) instead of branch/SHA-only tags.latest.Acceptance
pull_requesttrigger anywhere in.forgejo/workflows/.Done in
5a63f47. CI now runs only on pushes tomasterand manual dispatch — nopull_requesttrigger. Publish runs onv*tags or manual dry run; the tag/version check usespyproject.toml, images are pushed as{version,latest}only from a tag, and an existing version is left untouched. README anddevops/deploy.mddocument the flow.