ckeller-microstar opened a new issue, #2214:
URL: https://github.com/apache/incubator-kie-issues/issues/2214

   Greetings,
   
   I'm attempting to connect Sandbox with a GitHub repo as described in this 
[KIE blog 
post](https://blog.kie.org/2023/02/synchronize-your-kie-sandbox-workspace-with-bitbucket-or-github.html),
 but I'm seeing issues. I'm able to generate a Classic GitHub Personal Access 
Token with `repo` and `gist` scopes and Sandbox's authentication system is able 
to use that.
   
   <img width="1117" height="488" alt="Image" 
src="https://github.com/user-attachments/assets/afb383b3-01aa-4ba8-983b-5f9a1fd46945";
 />
   
   However, I can't import my desired private repository from GitHub into 
Sandbox because it `Can't determine Git refs`.
   
   <img width="481" height="423" alt="Image" 
src="https://github.com/user-attachments/assets/2b9d9092-043d-403c-a6b1-dc6f6661aeab";
 />
   
   Even trying to import a public repository, I get the same error.
   
   <img width="472" height="415" alt="Image" 
src="https://github.com/user-attachments/assets/fb5e1be0-ba78-4f24-af62-0f4b3a05f309";
 />
   
   Creating is perhaps the most interesting failure mode: The GitHub repository 
is created, but after that Sandbox reports `Error creating GitHub repository. 
Error: Failed to fetch` without making an API call (that I can tell).
   
   <img width="834" height="610" alt="Image" 
src="https://github.com/user-attachments/assets/d454af17-ebcf-4d79-a6d5-451ef7b413e8";
 />
   
   <img width="893" height="925" alt="Image" 
src="https://github.com/user-attachments/assets/b323c415-5c4f-41bf-a456-72195d769ae2";
 />
   
   <img width="917" height="195" alt="Image" 
src="https://github.com/user-attachments/assets/5c26132a-c634-4d39-bab0-2905a1a213cf";
 />
   
   This appears to be similar to #2103 and may be the same underlying issue, 
but that one is related to GitLab instead of GitHub, so I'll let you 
investigate and dedup if necessary.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to