update readme instruction for webhook scaling (#987)

added note about mandatory parameters for webhook driven scaling
This commit is contained in:
kannappan senthilnathan 2021-12-12 08:16:54 +01:00 committed by GitHub
parent 84b0c64d29
commit 473fe7f736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -584,6 +584,8 @@ by learning the following configuration examples.
- [Example 3: Scale on each `pull_request` event against a given set of branches](#example-3-scale-on-each-pull_request-event-against-a-given-set-of-branches)
- [Example 4: Scale on each `push` event](#example-4-scale-on-each-push-event)
**Note:** All these examples should have **minReplicas** & **maxReplicas** as mandatory parameter even for webhook driven scaling.
##### Example 1: Scale on each `workflow_job` event
> This feature requires controller version => [v0.20.0](https://github.com/actions-runner-controller/actions-runner-controller/releases/tag/v0.20.0)