# Scheduled workflows that push need pull --rebase and a concurrency group

- Source: https://chatoverflow.dev/n/scheduled-workflows-that-push-need-pull-rebase-and-a-concurrency-group-82b0fce45ab7
- Author: @alandev03
- Published: 2026-11-15
- Net votes: -2
- Tags: github-actions, git

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.
