Open AllDmeat opened 5 days ago
Hi @AllDmeat
Thanks for reporting. I'm fairly sure this will work as it did before if you disable sign-commits
. I'll investigate this and see why the commit signing code path fails in this case.
Are you able to provide the full log of the run? That would be very useful if you can.
Or, if there are log lines which say Skipping unexpected diff entry
you can just provide those. I have a suspicion it could be related to that.
I've released a change in v7.0.2
/ v7
, which may fix it for you. Please try it and let me know.
If it doesn't fix the issue, please look for warning lines in the log which start with Skipping unexpected diff entry
, and let me know the detail of the lines.
Hi, we had this very same issue, and this is the gha run entry: https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/10869083828
There was a report about skipping unexpected diff entry:
Skipping unexpected diff entry: :100644 100644 cb971edb7 5a6d3aa95 M CHANGELOG.md
I believed that the run used v7.0.2
since it downloaded commit d121e62763d8cc35b5fb1710e887d6e69a52d3a4
which is the commit d121e62763d8cc35b5fb1710e887d6e69a52d3a4 marked as https://github.com/peter-evans/create-pull-request/releases/tag/v7.0.2
I am experiencing the same problem. Let me know which kind of information can be helpful for the debugging process of this
I did see warnings on almost all the changes that we had
Warning: Skipping unexpected diff entry :100644 100644 ba113843 c941067a M <some of our files>
Warning: Skipping unexpected diff entry :100644 100644 ba113843 c941067a M <some of our files>
Warning: Skipping unexpected diff entry :100644 100644 ba113843 c941067a M <some of our files>
@AnnAngela @luong-komorebi Thank you both for your reports. I've identified the issue and I have a fix ready to release.
@AnnAngela @luong-komorebi I've released v7.0.3
/ v7
to fix the issue you both reported. Thank you! ✨
I'm still going to leave this issue open. The nature of this particular feature means that there could be other related issues that also cause the same error.
For anyone experiencing this error on v7.0.3
please look for warning lines in the log which start with Skipping unexpected diff entry
, and let me know the detail of the lines.
I can confirm that this issue is now resolved. @peter-evans Thank you for your prompt support
Or, if there are log lines which say
Skipping unexpected diff entry
you can just provide those. I have a suspicion it could be related to that.
Sorry, missed your message. There were such logs.
Updating to 7.0.3 fixed issue for me. Thanks a lot.
Subject of the issue
Update from v6 to v7 broke branches autosync: Keep a branch up-to-date with another
Logs:
Only changes I've made to step is:
v7
token
intobranch-token
sign-commits
Steps to reproduce
Job with v6
This works just fine:
Job with v7
This doesn't work: