Amir Szekely

Results 139 comments of Amir Szekely

Closing this for now since we haven't had new details in a while. Please reopen if we get new details or this repeats.

The generic infrastructure solution should work here too. Don't immediately delete the old provider. Leave 3 providers running until all jobs have been migrated to the two new ones. Instead...

How do you register runners on the enterprise level with API? I can only see API for organization registration that can take a token with `manage_runners:enterprise`.

Seems like [this is the API](https://docs.github.com/en/[email protected]/rest/actions/self-hosted-runners?apiVersion=2022-11-28#create-a-registration-token-for-an-enterprise) we were looking for.

Can you please include the specific labels used? It will be easier to discuss with a concrete example.

That would be one of the organization level registration cons: https://github.com/CloudSnorkel/cdk-github-runners/blob/994f474deb38c904d94d2ad824b0493bac09d942/setup/src/App.svelte#L333C1-L334C49 You can bring up more runners to take over the stolen ones by creating a new step function execution....

That won't prevent other repositories from using `label-for-repository` and still stealing the runner. Our label situation is already not the simplest to understand. I think this will make it even...

> But it could happen that people just copy / paste those labels from another github action from another repository by mistake. Exactly. Have you considered creating multiple providers all...

> No chance. Too much repos at all. This is no fun even when you have more than 10 repos. Wouldn't you have the same problem with your proposed solution?...