Skip to content

workflow.release.check-fresh

Refuse a release pull request whose base moved in its set's paths.

The gate job runs this last, so the time between the check and the merge it allows is as short as the forge makes it. The release's manifest names its members and the commit the prepare mined at; a commit the base gained since then under a member's directory is code the stamped changelog does not cover, and the squash's publish would refuse it after the merge, where nothing can fix the squash. Refused here, the pull request waits while workflow.release re-derives it in place. Without --head the branches come from the runner's event payload; a run that is not a pull request, or one off a release branch, is green and says so.

Hidden: this task is not listed by fm --list, --tree or completion — it runs like any other when named.

fm workflow.release.check-fresh [--head=VALUE] [--base=VALUE]
Parameter Type Default Description
--head=VALUE "" the pull request's head branch
--base=VALUE "" the branch it merges into

Example

$ fm workflow.release.check-fresh