This PR fixes github action failures we've been seeing recently (e.g. 7758648721). They happen when the bot tries to commit the changes after resolving conflicts. If there were no conflicts, the commit already exists, there's nothing new to commit and git complains:
nothing added to commit but untracked files present (use "git add" to track)
Error: Process completed with exit code 1.
The solution is to skip the commit. We only need to adjust the message on an already existing commit.
This PR fixes github action failures we've been seeing recently (e.g. 7758648721). They happen when the bot tries to commit the changes after resolving conflicts. If there were no conflicts, the commit already exists, there's nothing new to commit and git complains:
The solution is to skip the commit. We only need to adjust the message on an already existing commit.