Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Add a compareCommit param when creating build #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xavier-villelegier
Copy link

Hey !

We'd like to compare to the merge-base instead of the baselineBranch, to avoid having argos screenshots diffs that don't belong to your PR but were merged in the baselineBranch the meantime.

As the Github API doesn't provide a way to get the merge-base (issue opened on the github community here) we can't do this directly in argos using Octokit, so we need to find a way to send it as a param to argos.

I think this might be the optimal way as it also allows to compare to basically anything if needed

@xavier-villelegier xavier-villelegier changed the title Add a compareCommit param when creating build Add a compareCommit param when creating build Mar 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant