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 GitHub Enterprise #10

Open
jonashaag opened this issue Nov 3, 2023 · 6 comments · Fixed by #11
Open

Support GitHub Enterprise #10

jonashaag opened this issue Nov 3, 2023 · 6 comments · Fixed by #11
Labels
enhancement New feature or request

Comments

@jonashaag
Copy link

Right now the API endpoint is hardcoded to api.github.com. Would be nice to support custom domains for GitHub Enterprise installations.

@micalevisk
Copy link
Owner

Hi! I agree with you

do you know any resource (could be another action) that supports GH Enterprise? I never worked with their APIs

@jonashaag
Copy link
Author

jonashaag commented Nov 3, 2023

This works: https://github.com/peter-evans/create-issue-from-file

GitHub
A GitHub action to create an issue using content from a file - GitHub - peter-evans/create-issue-from-file: A GitHub action to create an issue using content from a file

@micalevisk micalevisk added the enhancement New feature or request label Nov 3, 2023
@micalevisk
Copy link
Owner

micalevisk commented Nov 3, 2023

@jonashaag I'll try to support that tomorrow or in the next day, depending on how hard it will be

Feel free to open a PR as well

@micalevisk
Copy link
Owner

micalevisk commented Nov 5, 2023

I've made a minor change that may has solved this but I cannot test as I don't have an enterprise account

@jonashaag let me know if it works in v2.2.0

@jonashaag
Copy link
Author

Thank you for working on this so quickly!

API endpoints seem correct but now I get

Error: Not Found
Error: Something went wrong!

Token is passed correctly.

@micalevisk micalevisk reopened this Nov 6, 2023
@micalevisk
Copy link
Owner

I'll need to revert that feature until a understand why is this. Thanks

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

Successfully merging a pull request may close this issue.

2 participants