As a user, I want my CI to select which branch to use as reference to my current build.
Motivation
We have set develop as the default branch in mermaid. This works great with PRs, as everything is compared to develop.
When doing releases, we need to test the screenshots with the current master, as a final sanity check.
This is currently done manually using Applitools. If we could specify which branch to use as reference from the CI, then we could use the target branch of every PR by default. So PRs to master would compare with master, PRs to develop would compare with develop.
This would also allow us to do stacked PRs, where we have changes in PR X to develop, and we need to make a new PR Y to X, and see just those changes.
As a user, I want my CI to select which branch to use as reference to my current build.
Motivation
We have set
develop
as the default branch in mermaid. This works great with PRs, as everything is compared to develop. When doing releases, we need to test the screenshots with the currentmaster
, as a final sanity check. This is currently done manually using Applitools. If we could specify which branch to use as reference from the CI, then we could use the target branch of every PR by default. So PRs to master would compare with master, PRs to develop would compare with develop.This would also allow us to do stacked PRs, where we have changes in PR X to develop, and we need to make a new PR Y to X, and see just those changes.
Detail
Might be related to https://github.com/argos-ci/argos/issues/1151 I saw a CLI option in docs, but we need a CI option.