Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify that if source-directory and destination-directory are "." it works #79

Open
cpina opened this issue Sep 5, 2022 · 1 comment
Assignees

Comments

@cpina
Copy link
Owner

cpina commented Sep 5, 2022

As title says, the .git directory might be moved into the destination/.git .

A report about this:
#42 (comment)

Needs verification that still happens and fix (or avoid this configuration)?

@muhrifqii
Copy link

muhrifqii commented Jul 14, 2024

Hi this happened to me when using (.) as source-directory. Could you try to replicate this issue by:

  • using github access token that can only access public repository
  • use this github action on the private repository, and target repo is the public repo
  • source repository use different branch with target repository
  • you will get 403 because the .git could still use the private one

image

One additional thing that I found. git status head is still using the source repository, not the target branch

[+] Deleting /tmp/tmp.hgjolk//
[+] Creating (now empty) /tmp/tmp.hgjolk//
[+] Listing Current Directory Location

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants