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 action to push (mirror) changes to a different repository (OSOE-737) #285

Open
BenedekFarkas opened this issue Nov 23, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@BenedekFarkas
Copy link
Member

BenedekFarkas commented Nov 23, 2023

For example to sync changes from our working repository of a project to release to the client's. Check if there are suitable actions in the GitHub Marketplace to wrap, e.g., https://github.com/marketplace/actions/mirror-repository.

Empty git pushes must be prevented by checking the state of the target remote with git log, also see Lombiq/Git-hg-Mirror-Daemon#2.

Jira issue

@github-actions github-actions bot changed the title Add action to push (mirror) changes to a different repository Add action to push (mirror) changes to a different repository (OSOE-737) Nov 23, 2023
@Piedone Piedone added the enhancement New feature or request label Nov 23, 2023
@Piedone
Copy link
Member

Piedone commented Feb 5, 2025

Git-hg Mirror only pushes to the target repo if there are changes. This needs to retain that functionality, because unnecessary git pushes are frowned upon by GitHub.

@BenedekFarkas
Copy link
Member Author

Updated description with the link to the GHM issue where we discussed this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants