ActionsRunnerGroup

class ActionsRunnerGroup : KotlinCustomResource

This resource allows you to create and manage GitHub Actions runner groups within your GitHub enterprise organizations. You must have admin access to an organization to use this resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.github.Repository;
import com.pulumi.github.ActionsRunnerGroup;
import com.pulumi.github.ActionsRunnerGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleRepository = new Repository("exampleRepository");
var exampleActionsRunnerGroup = new ActionsRunnerGroup("exampleActionsRunnerGroup", ActionsRunnerGroupArgs.builder()
.visibility("selected")
.selectedRepositoryIds(exampleRepository.repoId())
.build());
}
}

Import

This resource can be imported using the ID of the runner group:

$ pulumi import github:index/actionsRunnerGroup:ActionsRunnerGroup test 7

Properties

Link copied to clipboard

Whether public repositories can be added to the runner group. Defaults to false.

Link copied to clipboard
val default: Output<Boolean>

Whether this is the default runner group

Link copied to clipboard
val etag: Output<String>

An etag representing the runner group object

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val inherited: Output<Boolean>

Whether the runner group is inherited from the enterprise level

Link copied to clipboard
val name: Output<String>

Name of the runner group

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

If true, the runner group will be restricted to running only the workflows specified in the selected_workflows array. Defaults to false.

Link copied to clipboard
val runnersUrl: Output<String>

The GitHub API URL for the runner group's runners

Link copied to clipboard

GitHub API URL for the runner group's repositories

Link copied to clipboard

IDs of the repositories which should be added to the runner group

Link copied to clipboard

List of workflows the runner group should be allowed to run. This setting will be ignored unless restricted_to_workflows is set to true.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val visibility: Output<String>

Visibility of a runner group. Whether the runner group can include all, selected, or private repositories. A value of private is not currently supported due to limitations in the GitHub API.