Skip to content

New Featuer - Add branch selector #6

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

lipeilin375
Copy link

Use "-b" option in git command to clone the selected branch.

add a no required option named "branch", and when it exist value, then the action will clone the selected branch via git command, with "-b <branch name>"
@GuillaumeFalourd
Copy link
Owner

Hi @lipeilin375 , thank you for contributing! 😄

Could you just show me any evidence that the implementation is working as expected for each OS?

Using something like this in a custom workflow:

- name: Clone some repo from a specific branch
  uses: lipeilin375/clone-github-repo-action@main
  with:
    owner: 'OWNER'
    repository: 'REPO'
    branch: 'BRANCH'

@lipeilin375
Copy link
Author

Hi @lipeilin375 , thank you for contributing! 😄

Could you just show me any evidence that the implementation is working as expected for each OS?

Using something like this in a custom workflow:

- name: Clone some repo from a specific branch

  uses: lipeilin375/clone-github-repo-action@main

  with:

    owner: 'OWNER'

    repository: 'REPO'

    branch: 'BRANCH'

I'm so sorry about that I'm preparing for an important exam these days, so it will take a bit more time for me to respond to this CI workflow. Hope for u'r understanding 🙏🙏

@GuillaumeFalourd
Copy link
Owner

Hi @lipeilin375 , thank you for contributing! 😄
Could you just show me any evidence that the implementation is working as expected for each OS?
Using something like this in a custom workflow:

- name: Clone some repo from a specific branch

  uses: lipeilin375/clone-github-repo-action@main

  with:

    owner: 'OWNER'

    repository: 'REPO'

    branch: 'BRANCH'

I'm so sorry about that I'm preparing for an important exam these days, so it will take a bit more time for me to respond to this CI workflow. Hope for u'r understanding 🙏🙏

No problem 😄 👍🏼

… whether the required value is input

with CI test of public repo "python-docs-zh-cn" with branch "3.10"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for return Waiting for return
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants