-
-
Notifications
You must be signed in to change notification settings - Fork 448
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
Unexpected v7 error fatal: ambiguous argument
on diff --stat
#3311
Comments
Reverted, output from 6.1.0:
|
Can confirm this happened to me as well when migrating between the same versions - |
Thank you for reporting this. I've released a fix for this in https://github.com/peter-evans/create-pull-request/releases/tag/v7.0.1 I'm going to keep this issue open for now because the "fix" is more of a workaround, and I would like to try and reproduce this error so I can solve it in a more satisfactory way. |
fatal: ambiguous argument
on diff --stat
Thanks @peter-evans, Will try it out ❤️ |
Functionality works as expected again with 7.0.1 Thanks for the quick fix! |
Hi @peter-evans. I also encountered this issue with v6.0.1, v7, and v7.0.6 #3311 (comment).
CI Logs
|
@vparmeland Your issue is different. It's caused because you are trying the create the pull request branch with |
@peter-evans I'm having the same problem. Is there a way to work around this? The reason is that my action is updating the packages.json version and then opening a PR. Doing this locally would erase the purpose of this automation. Thanks!! |
By locally, I mean make the changes during the workflow on the runner. Don't try and create the branch yourself, or use a remote branch, the action will create and update the branch itself. This is off-topic now so if you need further help please open a new issue. |
Hi,
We've updated to V7 and now getting an (unexpected) error. Checked the "what's new" and changes and it didn't mention anything that could impact, but it did.
Error
Configuration
In short, we have bunch or repositories which have a DTAP setup (develop->staging->main) where we use branch promotion to push changes to main. So simplify this process we use this action to automatically create a
Sync to staging
PR with changes from the develop branch.Works like a charm with
6.1.0
, breaks in7.0
The text was updated successfully, but these errors were encountered: