git-mirror-action icon indicating copy to clipboard operation
git-mirror-action copied to clipboard

Is there a way that I can mirror a repo but not push forcely?

Open KafCoppelia opened this issue 1 year ago • 0 comments

This is the situation: I need synchronize a repository from somewhere to Github, and do it daily or weekly. Using Github actions is a good choice. So I add .github/workflows/main.yml for doing this job after I mirrored the repo. However, every time after mirroring, my .github/workflows/main.yml will vanish dut to it is not in the source repo.

I'm wondering if there's a way that the synchronization is not forcely so that Github actions job keeps safe.

KafCoppelia avatar Mar 21 '23 01:03 KafCoppelia