Skip to content

Protected branches can't be force pushed #209

@MylesBorins

Description

@MylesBorins

So this is obviously by design / a feature... but it introduces a hiccup in the release flow. generally be rebase the staging branch against the release branch after a release. After doing this we force push.

This has been a bit of annoyances for backports... as they all end up requiring a rebase after a release.

Alternatively we could look at cherry-picking from the release branch to staging... but I also cringe at the idea of staging + release constantly drifting. Rebasing staging is by far the more elegant approach for keeping a clean history... but at a cost.

This release I simply unprotected the branch, force pushed, and then re-protected. This would not be possible for releasers who are not owners.

What do people think we should do?

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