mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-11 20:21:02 +00:00
fix: scaling issue based on workflow_job event (#850)
This PR fix scaling issue based on `workflow_job` event discussed in #819
This commit is contained in:
committed by
GitHub
parent
1bc1712519
commit
ea06001819
@@ -542,7 +542,7 @@ HRA:
|
|||||||
// Ensure that the RunnerDeployment-managed runners have all the labels requested by the workflow_job.
|
// Ensure that the RunnerDeployment-managed runners have all the labels requested by the workflow_job.
|
||||||
for _, l := range labels {
|
for _, l := range labels {
|
||||||
var matched bool
|
var matched bool
|
||||||
for _, l2 := range rd.Spec.Template.Labels {
|
for _, l2 := range rd.Spec.Template.Spec.Labels {
|
||||||
if l == l2 {
|
if l == l2 {
|
||||||
matched = true
|
matched = true
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user