-
Notifications
You must be signed in to change notification settings - Fork 50
Can mirror-action be used for a pull vs push? #8
Copy link
Copy link
Open
Labels
questionFurther information is requestedFurther information is requested
Description
@spyoungtech first off thanks for this useful project. Is it possible to use this to mirror a repo as a "Pull" rather than a "Push"?
My understanding is as such:
- The mirror-action yml file needs to be added to a local repo A (that you own), and the action would "push" all branches from your local repo A to your remote repo B (on github, gitlab, bitbucket, what have you).
Can this action be used to "pull" instead? The situation is as such: I have read-only access to a private github repo, and I would like to mirror all branches from that repo into one I own and control. If it's possible, what would the yml config look like?
So far I was trying to use https://github.com/actions/checkout but I probably didnt end up configuring it right. A search led me to your repo.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested