-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Hello,
I have 2 github.com accounts (perso and pro).
In order to use both under the same linux bash, I use the method described here.
# Personal GitHub account
Host github.com
HostName github.com
User git
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
# Work GitHub account
Host github.com-work
HostName github.com
User git
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/work_rsa
When I am in the repo under the perso account (Host github.com), github actions is good too.
git remote add origin git@github.com:[my work GitHub group]/[my project].git
But when I am in the repo under the work account (Host github.com-work), github actions throws the error No github repository found. Please open a folder that contains github repository
git remote add origin git@github.com-work:[my work GitHub group]/[my project].git
I would like to know is this error expected as github actions doesnt support the format github.com-work ?
fp-lnawrat
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done 💤