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

destination_branch confusing if your repo still uses master #35

Open
davesgonechina opened this issue Sep 1, 2021 · 0 comments
Open

Comments

@davesgonechina
Copy link

davesgonechina commented Sep 1, 2021

https://github.com/dmnemec/copy_file_to_another_repo_action/blob/main/entrypoint.sh#L12:L34

If you have master branch and not main in your repo, then you must specify destination_branch: "master" in your workflow for git clone, and then use destination_branch_create to specify a different target branch if desired.

This was confusing because of the names destination_branch and destination_branch_create. The latter is definitely only a destination branch, but the former is sometimes a destination and always a source.

@davesgonechina davesgonechina changed the title destination_branch does not support repos still using master destination_branch confusing if your repo still uses master Sep 1, 2021
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

1 participant