Skip to content

ci: Fail PRs that move a submodule pointer backwards #693

Closed

Description

@zackees

Part of the contributor-unblocking meta. From #634 item 3.

Problem

PRs keep moving the plugins/obs-websocket submodule pointer back to an older commit, silently reverting merged fixes (#492, #496, #503, #615). Each catch costs a CI round trip or a lucky review, and contributors spend time on restore PRs.

Change

  • A check in ./lint and in PR CI that fails when a PR changes a gitlink to a commit that does not descend from master's pointer (git merge-base --is-ancestor), unless the PR title says submodule:.

Acceptance

  • A PR that moves the websocket pointer backwards fails fast with a clear message.
  • A deliberate forward bump passes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions