A module release's empty build plan no longer blocks its PR #97
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/pipeline-templates!97
Loading…
Reference in a new issue
No description provided.
Delete branch "release-empty-matrix"
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?
Part of https://openproject.home.romaine.life/wp/PIPT-12.
A Go library's release (
release.module) builds nothing, so its plan's matrix is empty. Forgejo never creates a job from an empty matrix, so on fzt's first PR (romaine-life/fzt#23) build and check-build never appeared and the seven release jobs after them stayed blocked.The plan itself stays empty. Only the workflow output changes: an empty plan is sent as one
{toolchain: none}entry, so those jobs exist and their has-local condition skips them. A test covers both an empty plan and a real one.The placeholder names a runner too, because build and check-build read
runs-onfrom the entry. Proven on fzt's PR with its suites pointed at this branch: every release job skipped and all checks passed.