Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit c1bfced

Browse files
committed
Remove selector expression for organization runners
1 parent f433af8 commit c1bfced

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

manifests/instance.pp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,7 @@
7171
$token_url = "${github_api}/repos/${org_name}/${repo_name}/actions/runners/registration-token"
7272
$url = "${github_domain}/${org_name}/${repo_name}"
7373
} else {
74-
$token_url = $github_api ? {
75-
'https://api.github.com' => "${github_api}/orgs/${org_name}/actions/runners/registration-token",
76-
default => "${github_api}/orgs/${org_name}/actions/runners/registration-token",
77-
}
74+
$token_url = "${github_api}/orgs/${org_name}/actions/runners/registration-token"
7875
$url = "${github_domain}/${org_name}"
7976
}
8077
} elsif $enterprise_name {

0 commit comments

Comments
 (0)