-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
confirm that default checks out GITHUB_SHA #8
Comments
by default, checkout will run the |
thanks! Sorry, Whom can I poke to maybe clarify that in the docs? Am I the only one for whom that wasn't obvious? |
i will find someone on the doc team for this. :) |
I've added a PR to amend the |
This should be closed now? 😁 |
I still think it might help other users if this was briefly mentioned that by default, the action checks out Might also benefit from a link to what |
The link for what $GITHUB_SHA is now in the top-level readme file. |
sounds like this is fixed now |
I'd like to confirm what happens when I just use the checkout action with all defaults, such as in the below:
My assumption would be that behind the scenes something like
git clone
andgit checkout $GITHUB_SHA
happens, so that this always puts whatever git ref thepush
event brought along intoGITHUB_WORKSPACE
.The docs are a little hazy on this:
They don't however state explicitly what the default behavior is.
I've tested this empirically and I seem to be correct, but I'd like to be certain.
Would be nice to
The text was updated successfully, but these errors were encountered: