actions-runner-controller: what does it mean "user repositories not supported"?
Describe the bug A clear and concise description of what the bug is.
I had finished the webhook configuration,but when I tried to push,I got the following DEBUG message
2022-03-21T15:40:28Z DEBUG controllers.webhookbasedautoscaler user repositories not supported {"event": "push", "hookID": "349188636", "delivery": "3b6da0c4-a92d-11ec-9628-7beee63ddb82", "owner": "yourmoonlight"}
Environment (please complete the following information):
- Controller Version [0.22]
- Deployment Method [Helm]
- Helm Chart Version [0.17.0]
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (4 by maintainers)
@mumoshu Thanks for looking at my config. I think I figured out my mistake. I had “Workflow run” webhook events enabled instead of “Workflow job”.
Some things that I got confused on:
githubEvent: {}
meansworkflow_job
as the trigger. Empty map makes me think it should be any event type, since check_run, push… have a map value and filtering.Thanks again for the help.
@jgreat The log was added in https://github.com/actions-runner-controller/actions-runner-controller/commit/4ebec3820810e9d72032118870d44b23c1a47cc2 and it basically says that everything after line “478” that is intended to support runner groups(which are enterprise features not available to user repos).
User repositories are indeed supported by ARC. If you configured your RunnerDeplomeny for a user repo correctly, the webhook event should hit the if block at line 468 and triggers a scale https://github.com/actions-runner-controller/actions-runner-controller/blob/f28cecffe9731926309bdd5e6f1419a8fd87dcf1/controllers/horizontal_runner_autoscaler_webhook.go#L468-L471