Skip to content

Gold status updates for branching - #727

Merged
Piinks merged 5 commits into
flutter:masterfrom
Piinks:goldBranching
Mar 27, 2020
Merged

Piinks merged 5 commits into
flutter:masterfrom
Piinks:goldBranching

Conversation

@Piinks

@Piinks Piinks commented Mar 27, 2020

Copy link
Copy Markdown
Contributor

This change adds a gold status check to PRs on branches other than master.
It will also provide different messaging for these PRs if a change is found to explain why a divergence between the branch and master may have occurred across golden files.

@Piinks
Piinks requested a review from keyonghan March 27, 2020 01:49
Comment on lines +88 to +89
if (result.branch != 'pull/${pr.number}') {
isMasterBranch = false;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is the branch look like for a non-master branch?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! I thought cirrus specified a difference. I think instead I should be able to do this with the base ref of the pull request.

@Piinks Piinks left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reverted some of the changes and made the base ref the flag for release branches. PTAL. :)

@keyonghan keyonghan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants