Skip to content

prepare-release: dev CHANGELOG commit can revert concurrent entries (no BASE_SHA) #2028

Open

Description

@gerchowl

Found in the review of #2024 (#2003). prepare-release's freeze commit to dev goes through vig-os/commit-action without BASE_SHA. The action builds on dev's current head and replaces CHANGELOG.md (and the mirror) with content computed from an earlier checkout. Any changelog entry merged into dev between checkout and commit is silently lost.

Fix: pass the checkout SHA as BASE_SHA, so a moved dev fails the update instead of overwriting it. Apply this to the devkit and consumer copies, and to any other commit-action call that writes files computed from an earlier checkout. Audit all callers.

Refs: #2003

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions