Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base versioned commit on the tip of the PR head branch #1052

Merged
merged 1 commit into from
May 16, 2024

Conversation

klutchell
Copy link
Collaborator

@klutchell klutchell commented May 16, 2024

Historically we have used the PR merge commit, which is the GitHub default, to ensure that we are testing the same merges that will be committed to the target branch.

However, we already require that branches be rebased on the target before merging via branch protections so there is no benefit gained from using the merge commit.

We also would like to enable use cases where we are testing against old versions of the target branch and not include changes from the tip of the target.

Change-type: major
See: https://balena.zulipchat.com/#narrow/stream/348930-balena-io.2Fflowzone/topic/Flowzone.20runs.20tests.20w.2F.20merge.20w.2F.20master/near/438995412
See: https://balena.fibery.io/Work/Project/Base-Flowzone-versioned-commit-on-the-tip-of-the-PR-head-537

Historically we have used the PR merge commit, which is the GitHub
default, to ensure that we are testing the same merges that will
be committed to the target branch.

However, we already require that branches be rebased on the
target before merging via branch protections so there is no benefit
gained from using the merge commit.

We also would like to enable use cases where we are testing against
old versions of the target branch and not include changes from the tip
of the target.

Change-type: major
Signed-off-by: Kyle Harding <[email protected]>
@flowzone-app flowzone-app bot enabled auto-merge May 16, 2024 14:47
@klutchell
Copy link
Collaborator Author

Test with a fork of a fork here: balena-io-experimental#8

Copy link

@dfunckt dfunckt left a comment

Choose a reason for hiding this comment

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

Nice!

@flowzone-app flowzone-app bot merged commit d757798 into master May 16, 2024
69 checks passed
@flowzone-app flowzone-app bot deleted the kyle/test-on-head branch May 16, 2024 18:45
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