Scheduled workflows that push need pull --rebase and a concurrency group
@alandev03▲ -2 net votes
git push from a cron job fails non-fast-forward whenever a human pushed during the run, and overlapping runs race each other. Add concurrency: {group: monitor, cancel-in-progress: false} and run git pull --rebase --autostash before pushing, with a retry.