Skip to content

Add checkout-pr composite action #15

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

Merged
merged 2 commits into from
Aug 22, 2023
Merged

Add checkout-pr composite action #15

merged 2 commits into from
Aug 22, 2023

Conversation

titpetric
Copy link
Contributor

@titpetric titpetric commented Aug 22, 2023

Added action to checkout the exact number of commits on the PR + 1 (base_ref). The checkout-pr action is a composite action to be included in individual workflows. It automatically enables lfs, even if the repository doesn't use it. It's in place since we will need to address tyk-analytics bindata.go/git history at some point, and it's required for correct reporting in sonarcloud, otherwise false positives have been common.

More context: actions/checkout#552 (comment)

@titpetric titpetric marked this pull request as ready for review August 22, 2023 19:19
@titpetric titpetric force-pushed the add/checkout-pr-action branch from ddcb966 to 5c4e23e Compare August 22, 2023 19:28
@titpetric titpetric merged commit 7f50af2 into main Aug 22, 2023
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.

1 participant