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

Support GH enterprise #201

Closed
zentale opened this issue Oct 13, 2023 · 2 comments · Fixed by #205
Closed

Support GH enterprise #201

zentale opened this issue Oct 13, 2023 · 2 comments · Fixed by #205
Assignees

Comments

@zentale
Copy link

zentale commented Oct 13, 2023

I see github.com is hardcoded in these lines.

git config --local --name-only --get-regexp "http\.https\:\/\/github\.com\/\.extraheader" && git config --local --unset-all "http.https://github.com/.extraheader" || :
git submodule foreach --recursive 'git config --local --name-only --get-regexp "http\.https\:\/\/github\.com\/\.extraheader" && git config --local --unset-all "http.https://github.com/.extraheader" || :'
git remote set-url origin https://${GITHUB_ACTOR}:${INPUT_TOKEN}@github.com/${GITHUB_REPOSITORY}.git

It would be awesome to have a parameter for the github instance.

@zentale
Copy link
Author

zentale commented Oct 13, 2023

It wouldnt need a parameter, since there is an env variable available as default.

https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
GITHUB_SERVER_URL

@CasperWA
Copy link
Owner

CasperWA commented Nov 1, 2023

@zentale, please use the upcoming v2.15.0 to check whether #205 truly fixed this issue.

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

Successfully merging a pull request may close this issue.

2 participants