Skip to content

v0.2.39

Choose a tag to compare

@github-actions github-actions released this 02 Dec 19:06
· 21 commits to main since this release

v0.2.39

  • anchors check --base <ref|auto>. The check judges what the branch changed since it left its base: the files from the merge base to HEAD, each change measured from that merge base, and the waivers the branch's commits wrote. A pull request, a push, a run fired by hand and the local hook judge the same slice, with no base logic in the workflow's shell. (CGPCH-B106–B108, CGPCH-E10)
    • With auto, the base is the one the pull request names ($GITHUB_BASE_REF). Without a pull request, it is the base the branch_flow: sends the branch to, read from origin/. When the flow sends the branch to several bases, the check takes the one the branch left, the one with the fewest commits since the merge base, and says which.
    • The branch comes from --head, else $GITHUB_HEAD_REF, $GITHUB_REF_NAME or the branch checked out. A branch the flow sends nowhere is judged by its last commit, with a warning.
    • A base the clone does not have, or a shallow history, is an error that asks for fetch-depth: 0.
  • branch_flow answers the bases a branch merges into. (BFSBR-B04)

Changelog

  • fd136d4 docs(release): v0.2.39 notes
  • 7edc427 feat(check): --base judges what the branch changed since it left its base