You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite the inclusion of deleteOrphaned: true in .github/sync.yml, files deleted in the source repo don't get deleted from the destination repo. In addition, folders renamed in the source repo appear twice in the destination repo, with old and new names.
B.md has been deleted in the source repo, folder1 has been renamed to folder2 (both after they have been synced to the destination repo). However, they don't get deleted from the destination repo.
Deleted/renamed files in the source repo and folders should be deleted/renamed in the destination repo aswell, including files/folders in subdirectories.
+1 to this bug. I just added deleteOrphaned for a file sync and the sync action ignored it. Despite there being a folder that was removed in the source repository, it still said files were all up to date.
Locally syncing file(s) between source and target repository
Source is directory
Source is directory
File(s) already up to date
Cleanup complete
🐞 Describe the bug
Despite the inclusion of
deleteOrphaned: true
in.github/sync.yml
, files deleted in the source repo don't get deleted from the destination repo. In addition, folders renamed in the source repo appear twice in the destination repo, with old and new names.📚 To reproduce
In source repo
Folder structure:
In destination repo
B.md
has been deleted in the source repo,folder1
has been renamed tofolder2
(both after they have been synced to the destination repo). However, they don't get deleted from the destination repo.Folder structure:
💡 Expected behavior
Deleted/renamed files in the source repo and folders should be deleted/renamed in the destination repo aswell, including files/folders in subdirectories.
🖼️ Screenshots
No response
⚙️ Environment
Tested with v1 and latest, as mentioned here: https://github.com/BetaHuhn/repo-file-sync-action?tab=readme-ov-file#versioning
📋 Additional context
No error messages appear in the actions log.
I authenticated using
GH_PAT
, with full repo scope, see #31Maybe the issue is related to
SKIP_PR: true
?The text was updated successfully, but these errors were encountered: