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
Erroneous "There is nothing to commit." when clean: false
and single-commit: true
#807
Comments
Thanks for the report! I will try and investigate this over the weekend. |
Sorry for the delay on this. I've been investigating this and I'm so far not able to reproduce this bug. I've tried setting Are you certain there's a diff being generated between the files? It's interesting that it works when you remove |
Hi, |
Well, no time this week sorry... I should probably get to it by the end of August... :/ |
I think this is caused by this: github-pages-deploy-action/src/git.ts Lines 150 to 153 in 6c2a931
|
I can confirm that in my case, I was only adding files, without changing any... |
Thanks for the insight @marekdedic, @jana-d and @liskin. I've got a beta version of a potential fix you can try by pointing your workflow to Let me know how this works for you. |
Just wondering if anyone has had a chance to check out the fix I posted above yet. |
Oh, sorry, I meant to reply and forgot about it. I haven't particularly tested your action per se, because I don't have any actions setup that would trigger the issue, but I did try executing the git commands manually in the order the fixed action would do them, and it seemed to work fine. So if your integrations tests are okay, I'd say: ship it! :-) |
This has been released with version 4.1.5. Discussion: #847 |
4.1.4 fails to pick up changes that only add new files: JamesIves/github-pages-deploy-action#807
As discussed in JamesIves/github-pages-deploy-action#807 `github-pages-deploy-action' had a bug when using `single-commit'. Upgrading to 4.1.5 fixed that behaviour.
Describe the bug
Hi,
thanks for the action! I tried to use it and when I set both of these options, it would just say "There is nothing to commit." (incorrectly) When I removed
single-commit: true
, it started working...Reproduction Steps
Set the two parameters at the same time
Logs
The text was updated successfully, but these errors were encountered: