wei / git-sync

🔃 A GitHub Action for syncing between two independent repositories using force push
254 stars 124 forks source link

Ignore .github/workflows folder #42

Closed rarecrumb closed 2 years ago

rarecrumb commented 2 years ago

If the source repo doesn't include the exact same sync action workflow file, the first sync overwrites it.

Please expose a flag to disable syncing the .github/workflows directory.

wei commented 2 years ago

Unfortunately this cannot be supported because this action syncs the commits directly, we cannot pick and choose which files to include/ignore because we are not making a new commit.