This repository was archived by the owner on Nov 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4747 String $group = $github_actions_runner::group,
4848 String $hostname = $::facts[' hostname' ],
4949 String $instance_name = $title,
50+ String $github_domain = $github_actions_runner::github_domain,
51+ String $github_api = $github_actions_runner::github_api,
5052 Optional[String] $http_proxy = $github_actions_runner::http_proxy,
5153 Optional[String] $https_proxy = $github_actions_runner::https_proxy,
5254 Optional[String] $no_proxy = $github_actions_runner::no_proxy,
5355 Optional[Array[String]] $labels = undef ,
5456 Optional[String] $repo_name = undef ,
5557 Optional[String] $enterprise_name = $github_actions_runner::enterprise_name,
56- String $github_domain = $github_actions_runner::github_domain,
57- String $github_api = $github_actions_runner::github_api,
5858) {
5959
6060 if $labels {
7070 } elsif $repo_name {
7171 $token_url = " ${github_api} /repos/${org_name} /${repo_name} /actions/runners/registration-token"
7272 $url = " ${github_domain} /${org_name} /${repo_name} "
73- } else $org_name {
73+ } else {
7474 $token_url = $github_api ? {
7575 ' https://api.github.com' => " ${github_api} /repos/${org_name} /actions/runners/registration-token" ,
7676 default => " ${github_api} /orgs/${org_name} /actions/runners/registration-token" ,
You can’t perform that action at this time.
0 commit comments