Skip to content

Commit

Permalink
use repository variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwsh committed Jul 28, 2023
1 parent ecddffe commit 6c6c743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/github-runners/templates/runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
operator: "Equal"
value: {{ . }}
effect: "NoSchedule"
repository: {{ $organizationName }}/{{ $runner.name }}
repository: {{ $organizationName }}/{{ $runner.repository }}
---
apiVersion: actions.summerwind.dev/v1alpha1
kind: HorizontalRunnerAutoscaler
Expand All @@ -38,6 +38,6 @@ spec:
metrics:
- type: TotalNumberOfQueuedAndInProgressWorkflowRuns
repositoryNames:
- {{ $organizationName }}/{{ $runner.name }}
- {{ $organizationName }}/{{ $runner.repository }}
{{- end }}
{{- end }}

0 comments on commit 6c6c743

Please sign in to comment.