Skip to content

Does Cypress cache tests from main branch? #17579

Answered by btjones
btjones asked this question in CI setup
Discussion options

You must be logged in to vote

After digging a bit I discovered that what I described above is intended behavior. The github checkout action creates a merge commit of the base branch and the target branch as if the pull request were merged. This can be disabled as described here: https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by btjones
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant