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

Better support branches with special characters in them #108

Merged
merged 2 commits into from
Oct 10, 2020

Conversation

stefanzweifel
Copy link
Owner

Related to #106 this PR fixes a problem when a branch like feature/name-of-the-feature couldn't correctly been checked out by the Action.

Simply calling git fetch before calling git checkout seems to fix the problem. 🤷

@stefanzweifel stefanzweifel merged commit a9d1ac4 into master Oct 10, 2020
@stefanzweifel stefanzweifel deleted the fetch-repo-before-checkout branch October 10, 2020 17:19
stefanzweifel added a commit that referenced this pull request Dec 13, 2020
This new option will allow users to skip the execution of `git fetch` if it has a negative impact in their workflows.

In a future PR I will probably remove the call to git-fetch interely. It was added in #108 in relation to a problem with slashes in branch names. That problem wasn't properly fixed though.
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

Successfully merging this pull request may close these issues.

1 participant