mirror of
https://github.com/jaedle/mirror-to-gitea.git
synced 2026-05-05 03:00:46 -04:00
Allow skipping forks (and a dry-run bonus) #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jdevera on 7/19/2024
This PR brings the following changes:
SKIP_FORKSenv var, forks will not be mirrored, regardless of the other configurations.DRY_RUNis also introduced. When set, the mirror creation action is skipped but logged. This makes it easier to check the setup before anything is written to Gitea.trueor1unless-stoppedinstead ofalwaysfor the restart policy in the docker-compose example.Closes: #16