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

Confused with checkout@master when base branch is not master #52

Closed
Shekharrajak opened this issue Oct 5, 2019 · 1 comment
Closed

Comments

@Shekharrajak
Copy link

We are creating an action called deploy and current branch is newsite so as per this documentation we want to use newsite branch but if I don't specify the branch then also it works.

Refer: numpy/numpy.org#46 (comment)

@thboop
Copy link
Contributor

thboop commented Oct 24, 2019

Hey @Shekharrajak ,

When you invoke an action using uses: actions/checkout@master
You are saying, I would like to run the checkout action's master branch code. The comment chain here is correct:
numpy/numpy.org#46 (comment)

We are working an on update to allow you to more easily run other git commands inside git, such as fetching a different remote branch. You can see the status of that work here: #56

I'm going to close this issue, but feel free to reopen it if you have any more questions!

@thboop thboop closed this as completed Oct 24, 2019
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

No branches or pull requests

2 participants