Title says it all. I tried using a bunch of different git commands like git submodule update --remote --merge and git submodule foreach git pull origin master which work fine on my computer, but not when it's run on GitHub actions.
I tried adding git status to the workflow and the status just shows "Up to date with origin/master, nothing to commit" or something like that.