repo-file-sync-action icon indicating copy to clipboard operation
repo-file-sync-action copied to clipboard

Cannot copy './' to a subdirectory of itself

Open vuthanhdatt opened this issue 1 year ago • 2 comments

🐞 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

vuthanhdatt avatar Nov 03 '24 09:11 vuthanhdatt

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.

Aetherinox avatar Dec 19 '24 11:12 Aetherinox

https://github.com/BetaHuhn/repo-file-sync-action/discussions/130#discussioncomment-13199273

zen0bit avatar May 19 '25 22:05 zen0bit