The idea is:
Add an automation setting or an API endpoint to trigger a Source Control “Push” operation on a schedule. Specifically, I would like to configure the Source Control settings to automatically commit and push all changes (workflows, tags, credentials, variables) to the connected Git repository at a set interval (e.g., Daily at 12:00 AM) without manual user intervention.
My use case:
I hold a Business license and use Source Control for versioning and disaster recovery. Currently, to back up my instance, I must manually log in and click “Push” every day. While I can create a separate n8n workflow to fetch workflow JSONs via API and push them to Git, this “backup” is disconnected from the native Source Control system. It creates a secondary set of files rather than maintaining the official history, and it often fails to correctly handle credential stubs and environment variables in the same standardized way the native feature does.
I think it would be beneficial to add this because:
It would provide true “set and forget” disaster recovery. Relying on human memory to manually push changes introduces a risk of data loss. If a server failure occurs 23 hours after the last manual push, a day’s worth of work is lost. Automating this native function ensures the Git repository is always a reliable, up-to-date mirror of the production instance.
Any resources to support this?
N/A
Are you willing to work on this?
If I can help