Skip to content

Give an option to disable Sync Fork #33264

Closed
@noother

Description

@noother

Feature Description

Hi,

the Sync Fork button is kind of like a red nuclear button at the moment.
It works and is very useful for sure, however it does not ask for any confirmation nor does it give any summary on what it would do - It just does it right away.

There are projects that started as a fork, but diverged in a way where it's not safe to just sync them with a push of the button, because it needs prerequisites, like changing SQL tables or requiring configs to be set in .gitignore'd files etc.

This is especially dangerous if the CI in the repo auto-deploys pushes to master into production systems.

Please either

  1. Give an option to disable the Sync Fork button globally, or for specific repos
  2. Ask for confirmation on clicking the Sync Fork button so it doesn't get clicked by accident (Bonus: With a diff / Pull Request like view on what it would do)
  3. As far as I understand it creates a Fake Pull Request and auto-merges it - Maybe only create the Pull Request without auto-merging it if possible. I think this might be the cleanest solution as this would enable one to cleanly check for external things that might have to be done.

Best Regards

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions