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 for Github Actions in Github Enterprise #12

Open
rohte opened this issue Aug 8, 2024 · 4 comments
Open

Support for Github Actions in Github Enterprise #12

rohte opened this issue Aug 8, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@rohte
Copy link

rohte commented Aug 8, 2024

As Github Actions are supported, is it possible to support Github Actions on a Github Enterprise instance?
I am just assuming that the APIs should be identical and that there is just a different server (with different credentials). It would require being able to store multiples of them, I guess.

@erikdoe
Copy link
Member

erikdoe commented Aug 14, 2024

Sounds reasonable. I currently don't have access to a GitHub Enterprise instance to test, though. Maybe we can find a way to coordinate.

@erikdoe erikdoe added the enhancement New feature or request label Aug 14, 2024
@rohte
Copy link
Author

rohte commented Aug 15, 2024

I am sure we can.

@erikdoe
Copy link
Member

erikdoe commented Dec 12, 2024

I've now made the GitHub client built into CCMenu more configurable. It's possible to set the URL's for the API and the main site as well as the client ID using the defaults system, e.g.

defaults write net.sourceforge.cruisecontrol.CCMenu GitHubAPIBaseURL "https://ghe.mycompany.com/api/v3"
defaults write net.sourceforge.cruisecontrol.CCMenu GitHubBaseURL "https://ghe.mycompany.com"
defaults write net.sourceforge.cruisecontrol.CCMenu GitHubClientID "a95a239a6e8e448ab762"

You need to do this before starting CCMenu, and, with a bit of luck, CCMenu will work for your GitHub Enterprise installation. However, it's also possible that it won't work. Some initial experiments have shown issues caused by reverse proxies.

Please, please, leave feedback here when things work or don't work. You can diagnose issues using the logging system built into macOS. Open Console.app, and filter for SUBSYSTEM net.sourceforge.cruisecontrol.CCMenu. If you go to Actions in the main menu of the console app and tick Include Debug Messages then you'll not only see errors but log entries for all requests made.

@rohte
Copy link
Author

rohte commented Dec 13, 2024

Unfortunately it does not work. The was the only log entry

Request: GET https://git.my-company.com/users/myOrganisation/repos?per_page=100&type=all&sort=pushed

I ran the app from XCode.
What I see in the UI is this:
image

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

No branches or pull requests

2 participants