-
Notifications
You must be signed in to change notification settings - Fork 57
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
GH Actions Self-hosted runner groups endpoints missing #448
Comments
As far as I know, this endpoint is only accessible to GitHub Enterprise Cloud, can you confirm? I remember it wasn't flagged correctly in the OpenAPI spec, so I had to add a workaround on my side I didn't further investigate because the plan was to create a separate OpenAPI spec for GitHub Enterprise Cloud, but that still didn't happen. I think there was another reason why I had to add the workaround on my side, I wish I kept track of that instead of just writing "Due to complications" in the comment 🤷🏼 |
That is not fully true. Runner groups are available for github.com (single group, but not manageable via API) as well as enterprise cloud as well as GitHub EE (self-hosted). But you're right: I don't understand why you're "hiding" these 🙂 For me as Octokit user (even thou I'm GHEE user, not cloud) I may want to call these to manage my groups.... And now it is missing in |
What is "GitHub EE"? Is that GitHub Enterprise Server? We left out enterprise-only endpoints by default because the I've created the follow up issue on the OpenAPI spec repository, let's see what they API folks say. We are aware that enterprise support is rather weak right now, it's one of the main motivations behind working on a revamped Octokit, you can follow updates at https://github.com/octokit/octokit-next.js if you are interested |
Yes, sorry, I meant GH Enterprise Server. Will try to use plugin-enterprise-cloud.js for now...hopefully it will work for Enterprise Server as well. My only problem is that GH APIs usually differ in different versions of Enterprise Server. We're usually few steps behind (currently version 3.0, latest is 3.2, and Enterprise Cloud is even further) and there may already be breaking changes. |
Maybe that was the reason why the flag was not set, because it's supported by both GHEC & GHES, and setting I think I would recommend to just use |
+1, could be helpful to implement auto-scaling runners at enterprise level (available in GHES v3.3, partially in GHES v3.2) in Recommended autoscaling solutions => https://github.com/philips-labs/terraform-aws-github-runner/issues/1303 |
What happened?
I'd like to call Self-hosted runner groups endpoints, but these are missing completely.
They are present in
openapi-types
,plugin-paginate-rest
andtypes
, but are not referenced inplugin-rest-endpoint-methods
norplugin-enterprise-server
.What did you expect to happen?
Self-hosted runner groups endpoints should be available in
plugin-rest-endpoint-methods
andplugin-enterprise-server
.What the problem might be
The text was updated successfully, but these errors were encountered: