-
Notifications
You must be signed in to change notification settings - Fork 61
Push action invalid revision #18
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
Comments
Hi @vidavidorra, thank you for submitting this issue! This is done due to how git revision ranges work. When doing a Do you know of a solution in |
Are you using the |
Yes, that's what I currently use as the |
"before" field already shows the commit before the push event was sent, so we can use it as "from" field of the revision. Fixes #18
"before" field of a push event's payload already shows the commit before the push event was sent, so we can use it as "from" field of the revision. Fixes #18
I'm using v1.3.0 and this error was from the second commit, in which no valid revision could be found.
See the log here. Looks to me like the
^1
after the fist hash is not valid in the case of there only being 2 commits. I haven't looked ad the code but why would you need to get the previous commit from the last known commit before the push?The first commit worked correctly, but it detected an invalid commit message due to that commit being generated by GitHub and not valid style.
The text was updated successfully, but these errors were encountered: