Skip to content

Conversation

@vito
Copy link
Owner

@vito vito commented May 15, 2022

In order to run checks against someone's forked PR, I'll need to be able to checkout the PR refs (refs/pull/123/head).

Along the way, remove the :for label from git clone - just let it be cached, now that we have an explicit git fetch for the desired ref. It could make sense to allow a configurable label here in the future for e.g. weekly cache updating.

Also update the CONTRIBUTING docs.

vito added 2 commits May 15, 2022 13:14
otherwise it's possible to ls-remote a ref that's not fetched by
default, and then fail to check it out
@vito vito added the enhancement New feature or request label May 15, 2022
@vito vito merged commit 33be765 into main May 15, 2022
@vito vito deleted the git-checkout-fetch branch May 15, 2022 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants