Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add force option to mirror action #1801

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Add force option to mirror action #1801

merged 1 commit into from
Jun 21, 2024

Conversation

ajparsons
Copy link
Contributor

A tidy up for my github based workflow. This PR adds a manual option to the mirror action to force push a branch back to git.mysociety.org. The default is still that git.mysociety.org takes priority.

This works as expected in the twfy-votes repo.

Reasoning:

Because git.mysociety.org is the primary, if I rewrite the history in a branch, to get that into git.mysociety.org I need to open up a local theyworkforyou, pull from one, and force push to the other. This moves that into a few buttons on github - while not being an automatic process.

Add manual option to force push changes from github to git.mysociety.org
@dracos dracos self-requested a review June 21, 2024 14:06
@ajparsons ajparsons merged commit cfaeba8 into master Jun 21, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants