-
Notifications
You must be signed in to change notification settings - Fork 61
Errors on force-pushed PRs #21
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
Note the action is working on my fork on the push action, it's only failing on the PR I have open on that branch. |
hi @alerque, that's probably due to an update in steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v1 About the second action that you sent, the reason why it worked is because of 2 things: it was ran in a Let me know if the above fix works for you 🚀 |
Thank you for the feedback @wagoid (and for this great little action!). That does seem to have resolved the issue for me. It would probably be useful to mention that in the docs and others are bound to run into this unexpectedly. Feel free to close this issue because the problem is resolved or keep as a reminder until the documentation catches up. |
Awesome, I'm glad it worked out @alerque! Gonna update readme now 🚀 |
I started setting up this Action for one of my repos and it looked like it worked the first time. I had deliberately entered an invalid commit message just to see if it caught the mistake, and it did.
I then fixed the commit and force-pushed the PR again. At that point the action failed with some messages about not being able to find the commmit:
Am I doing something wrong? Is this only because it's a commit with the Action config or will this be a problem with other PRs too?
The text was updated successfully, but these errors were encountered: