-
Notifications
You must be signed in to change notification settings - Fork 142
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
Force pushes use the incorrect base commit SHA #4
Comments
Hello, Sean. I don't use your action but found it during my own experiment with my own simple reimplementation. You could use |
Hi @Felixoid, it seems that |
Dutifully reporting this issue, as the error message told me to!
Oddly (?) the action appears to have worked just fine, detecting the files it needed despite the error. Of course because it throws an error it kills the job, as expected, but before death I happen to be printing the output and it looks right. |
We're experiencing the same issue even without force pushes. We had to revert using this package. |
I have the same issue now - without force pushes. If I use this on a push on master, it works without problems. If I have a pull request to master, this error shows up and the job is killed. |
…n-4.0.3 chore(deps): bump y18n from 4.0.0 to 4.0.3
When force pushing a branch, the identified base commit is the old commit, rather than the shared parent commit.
For example in the commit graph below, A is the parent commit, B is the old commit, and C is the new, force-pushed commit after reverting B. When the force-push is performed, this action is using B as the base commit when it should be using A.
The text was updated successfully, but these errors were encountered: