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 the PR head, not the github merge commit #543

Merged
merged 1 commit into from
Aug 10, 2022

Conversation

sjd78
Copy link
Member

@sjd78 sjd78 commented Jul 20, 2022

In the CI github action, checkout the PR head commit instead of the
actions/checkout@v2 default of the PR merge commit. The practical
effect of this change is the exported artifacts snapshot suffix will
contain the commit id of the last commit on the PR instead of the
magic github generated merge commit.

Copy link
Member

@didib didib left a comment

Choose a reason for hiding this comment

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

LGTM. See also devel list thread "github testing: merge with branch, or use PR HEAD?".

@sjd78
Copy link
Member Author

sjd78 commented Jul 21, 2022

LGTM. See also devel list thread "github testing: merge with branch, or use PR HEAD?".

Between that thread going on for awhile and my work on #541, this PR's tweak seemed appropriate.

In the CI github action, checkout the PR head commit instead of the
`actions/checkout@v2` default of the PR merge commit.  The practical
effect of this change is the exported artifacts snapshot suffix will
contain the commit id of the last commit on the PR instead of the
magic github generated merge commit.
@sjd78 sjd78 requested a review from smelamud as a code owner August 8, 2022 17:27
@didib didib merged commit f958fbe into oVirt:master Aug 10, 2022
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

2 participants