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

ci: Checkout pr merge commit instead of head #1272

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

achow101
Copy link
Member

Change the shasum summary CI to use the pr merge commit (github's default checkout) rather than the head of the pr. This resolves an issue where changes to the base branch would appear in the git diff. This also ensures that the task is run on the most recent version of the base branch so that more comparisons can be done.

@achow101 achow101 mentioned this pull request Jun 18, 2024
@achow101
Copy link
Member Author

Example with pr on older merge base: achow101#2 (comment)

@0xB10C
Copy link
Contributor

0xB10C commented Jun 18, 2024

ACK 8a2259b

Thanks!

@0xB10C
Copy link
Contributor

0xB10C commented Jun 18, 2024

While looking at

lint_script: ./out-dir/touched-files-check "HEAD~..HEAD"
I noticed the lint CI task only checks the top most commit.

@fanquake fanquake merged commit ea1761c into bitcoin-core:main Jun 19, 2024
2 checks passed
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.

None yet

3 participants