Uploaded image for project: 'OpenShift Cloud'
  1. OpenShift Cloud
  2. OCPCLOUD-1760

Add manual mode for the Rebase Branches

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Normal
    • None
    • None
    • CLOUD Sprint 227, CLOUD Sprint 228, CLOUD Sprint 229, CLOUD Sprint 230

    Description

      User Story

      As a developerĀ I want to prevent the bot from overwriting the rebase branch so that I can use the PR and fix up the branch to squash fixes manually or adjust the history manually.

      Background

      Sometimes we need to make additional changes to the PRs commit history before we merge. It would be good to be able to have the bot observe a label on the PR, `rebase/manual` that prevents it from updating the branch.

      This would allow us to manually update the branches if we want to, for example, squash the history.

      Steps

      • Create a label on all repos that we care about for rebases
      • Teach the bot not to push over the rebase branch when a PR exists and has that label

      Stakeholders

      • Cluster Infra

      Definition of Done

      • We can type /label rebase/manual on a PR to prevent the bot from updating the rebase until we have merged the current branch.
      • Docs
      • N/A
      • Testing
      • N/A

      Attachments

        Activity

          People

            dodvarka@redhat.com Daniel Odvarka (Inactive)
            joelspeed Joel Speed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: