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

Worth documenting that PR jobs always run on the branch tip, not on the speculative merge #61

Open
sunshowers opened this issue Aug 18, 2024 · 0 comments

Comments

@sunshowers
Copy link
Contributor

sunshowers commented Aug 18, 2024

By default, GitHub Actions CI runs PR jobs on a speculative merge commit between the tip of the PR branch and the target branch as of the time the PR was last updated. But buildomat runs CI against the PR tip.

On the GHA side, this is hinted at in https://github.com/actions/checkout/?tab=readme-ov-file#checkout-pull-request-head-commit-instead-of-merge-commit but is not as clear as it could be.

I think it's worth documenting this clearly because it's a fairly common source of confusion.

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

No branches or pull requests

1 participant