Forcing changes in SourceCraft

You can perform a forced merge with a target branch, skipping both PR review and any automatic checks.

Warning

To force changes to a target branch, you must have the Repository maintainer role.

  1. Open the SourceCraft home page.
  2. On the Home tab, under Your craftspace, navigate to Repositories.
  3. Select a repository.
  4. Under Code on the repository page, go to Pull requests.
  5. Select a pull request.
  6. In the top-right corner, click and select Force merge.
  7. Confirm your changes.

Tip

To automatically delete the source branch of a pull request after it is merged with the target branch, enable the Merge settings option under Delete source branch when merged. This option overrides the default behavior specified for the repository in the .sourcecraft/branches.yaml file.

Useful links