This AI answer did not give much.
"The GitHub-hosted agents pool is a separate pool, so it can be managed through agent pool security and pipeline permissions." No, it is treated exactly as a Azure Pipeline.
In agent pools we create ourself we can set "Auto-provision this agent pool in new projects" to false, that is what I want but is not able to.
- "The context does not state that the GitHub-hosted agents pool is automatically added to all new projects"
- But it is
- The documented behavior is that enabling pay-as-you-go creates a new GitHub-hosted agents pool in the organization, and no existing pipelines use it unless explicitly updated.
- I know, but they CAN start using it freely if enabled from the org level.
- Access control is done through the pool's Security and Pipeline permissions settings.
- Not possible
It is possible to achieve what I want very manually, by going into every project and deleting the pipeline from each project, and if I add new projects I have to do the first step always. This is what I want to get rid of.