-
-
Notifications
You must be signed in to change notification settings - Fork 417
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
ambiguous argument unknown revision #1203
Comments
Hi @havok2063, I encounter the same issue. I firstly faced #902 because I wanted to commit before the |
Well, after reading this advice #1191 (comment), it works for my case ! Maybe you just have to create & push the branch |
Hi @havok2063
I think the problem is that whatever is happening in this command My advice would be to not create the |
This seems to bother the create-pull-request action. See: peter-evans/create-pull-request#1203
This seems to bother the create-pull-request action. See: peter-evans/create-pull-request#1203
This seems to bother the create-pull-request action. See: peter-evans/create-pull-request#1203
Subject of the issue
I have a very simple workflow where I want to periodically checkout the repo, check for updated files, and then submit a PR from a new branch into
main
, with any committed changes for the new files. I'd like it to create a new branch,dm_update_models
, to commit the changes into. Currently the action runs, finds changes that need to be committed, but fails to create a new PR. I get the following error:fatal: ambiguous argument 'origin/dm_update_models': unknown revision or path not in the working tree.
Does this action expect the branch to already exist or will it create it if needed? Originally, I did not have thebase
option set tomain
, but got the following error:The 'base' and 'branch' for a pull request must be different branches. Unable to continue.
Am I missing something here?Steps to reproduce
The current github action workflow
and the full traceback
The text was updated successfully, but these errors were encountered: