repo-file-sync-action
repo-file-sync-action copied to clipboard
Cannot copy './' to a subdirectory of itself
🐞 Describe the bug
When set src as current folder(./), error Cannot copy './' to a subdirectory of itself appear
📚 To reproduce
usr/repo:
- source: ./
dest: dest-folder/
💡 Expected behavior
When set source as ./, I expect to copy all file in root of current repo to dest repo folder.
🖼️ Screenshots
No response
⚙️ Environment
v1.21.1
📋 Additional context
No response
Same issue. Wanting to copy from repo branch 1 subfolder -> repo branch 2 parent folder.
I've tried about every combination known to man, ./ / . and blank. Same error. But if I pop in a random subfolder name, works.
https://github.com/BetaHuhn/repo-file-sync-action/discussions/130#discussioncomment-13199273