1. Packages
  2. Github Provider
  3. API Docs
  4. ActionsOrganizationPermissions
GitHub v6.3.2 published on Friday, Oct 11, 2024 by Pulumi

github.ActionsOrganizationPermissions

Explore with Pulumi AI

github logo
GitHub v6.3.2 published on Friday, Oct 11, 2024 by Pulumi

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as github from "@pulumi/github";
    
    const example = new github.Repository("example", {name: "my-repository"});
    const test = new github.ActionsOrganizationPermissions("test", {
        allowedActions: "selected",
        enabledRepositories: "selected",
        allowedActionsConfig: {
            githubOwnedAllowed: true,
            patternsAlloweds: [
                "actions/cache@*",
                "actions/checkout@*",
            ],
            verifiedAllowed: true,
        },
        enabledRepositoriesConfig: {
            repositoryIds: [example.repoId],
        },
    });
    
    import pulumi
    import pulumi_github as github
    
    example = github.Repository("example", name="my-repository")
    test = github.ActionsOrganizationPermissions("test",
        allowed_actions="selected",
        enabled_repositories="selected",
        allowed_actions_config={
            "github_owned_allowed": True,
            "patterns_alloweds": [
                "actions/cache@*",
                "actions/checkout@*",
            ],
            "verified_allowed": True,
        },
        enabled_repositories_config={
            "repository_ids": [example.repo_id],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-github/sdk/v6/go/github"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := github.NewRepository(ctx, "example", &github.RepositoryArgs{
    			Name: pulumi.String("my-repository"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = github.NewActionsOrganizationPermissions(ctx, "test", &github.ActionsOrganizationPermissionsArgs{
    			AllowedActions:      pulumi.String("selected"),
    			EnabledRepositories: pulumi.String("selected"),
    			AllowedActionsConfig: &github.ActionsOrganizationPermissionsAllowedActionsConfigArgs{
    				GithubOwnedAllowed: pulumi.Bool(true),
    				PatternsAlloweds: pulumi.StringArray{
    					pulumi.String("actions/cache@*"),
    					pulumi.String("actions/checkout@*"),
    				},
    				VerifiedAllowed: pulumi.Bool(true),
    			},
    			EnabledRepositoriesConfig: &github.ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs{
    				RepositoryIds: pulumi.IntArray{
    					example.RepoId,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Github = Pulumi.Github;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Github.Repository("example", new()
        {
            Name = "my-repository",
        });
    
        var test = new Github.ActionsOrganizationPermissions("test", new()
        {
            AllowedActions = "selected",
            EnabledRepositories = "selected",
            AllowedActionsConfig = new Github.Inputs.ActionsOrganizationPermissionsAllowedActionsConfigArgs
            {
                GithubOwnedAllowed = true,
                PatternsAlloweds = new[]
                {
                    "actions/cache@*",
                    "actions/checkout@*",
                },
                VerifiedAllowed = true,
            },
            EnabledRepositoriesConfig = new Github.Inputs.ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs
            {
                RepositoryIds = new[]
                {
                    example.RepoId,
                },
            },
        });
    
    });
    
    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.RepositoryArgs;
    import com.pulumi.github.ActionsOrganizationPermissions;
    import com.pulumi.github.ActionsOrganizationPermissionsArgs;
    import com.pulumi.github.inputs.ActionsOrganizationPermissionsAllowedActionsConfigArgs;
    import com.pulumi.github.inputs.ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs;
    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 example = new Repository("example", RepositoryArgs.builder()
                .name("my-repository")
                .build());
    
            var test = new ActionsOrganizationPermissions("test", ActionsOrganizationPermissionsArgs.builder()
                .allowedActions("selected")
                .enabledRepositories("selected")
                .allowedActionsConfig(ActionsOrganizationPermissionsAllowedActionsConfigArgs.builder()
                    .githubOwnedAllowed(true)
                    .patternsAlloweds(                
                        "actions/cache@*",
                        "actions/checkout@*")
                    .verifiedAllowed(true)
                    .build())
                .enabledRepositoriesConfig(ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs.builder()
                    .repositoryIds(example.repoId())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: github:Repository
        properties:
          name: my-repository
      test:
        type: github:ActionsOrganizationPermissions
        properties:
          allowedActions: selected
          enabledRepositories: selected
          allowedActionsConfig:
            githubOwnedAllowed: true
            patternsAlloweds:
              - actions/cache@*
              - actions/checkout@*
            verifiedAllowed: true
          enabledRepositoriesConfig:
            repositoryIds:
              - ${example.repoId}
    

    Create ActionsOrganizationPermissions Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ActionsOrganizationPermissions(name: string, args: ActionsOrganizationPermissionsArgs, opts?: CustomResourceOptions);
    @overload
    def ActionsOrganizationPermissions(resource_name: str,
                                       args: ActionsOrganizationPermissionsArgs,
                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ActionsOrganizationPermissions(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       enabled_repositories: Optional[str] = None,
                                       allowed_actions: Optional[str] = None,
                                       allowed_actions_config: Optional[ActionsOrganizationPermissionsAllowedActionsConfigArgs] = None,
                                       enabled_repositories_config: Optional[ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs] = None)
    func NewActionsOrganizationPermissions(ctx *Context, name string, args ActionsOrganizationPermissionsArgs, opts ...ResourceOption) (*ActionsOrganizationPermissions, error)
    public ActionsOrganizationPermissions(string name, ActionsOrganizationPermissionsArgs args, CustomResourceOptions? opts = null)
    public ActionsOrganizationPermissions(String name, ActionsOrganizationPermissionsArgs args)
    public ActionsOrganizationPermissions(String name, ActionsOrganizationPermissionsArgs args, CustomResourceOptions options)
    
    type: github:ActionsOrganizationPermissions
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ActionsOrganizationPermissionsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ActionsOrganizationPermissionsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ActionsOrganizationPermissionsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ActionsOrganizationPermissionsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ActionsOrganizationPermissionsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var actionsOrganizationPermissionsResource = new Github.ActionsOrganizationPermissions("actionsOrganizationPermissionsResource", new()
    {
        EnabledRepositories = "string",
        AllowedActions = "string",
        AllowedActionsConfig = new Github.Inputs.ActionsOrganizationPermissionsAllowedActionsConfigArgs
        {
            GithubOwnedAllowed = false,
            PatternsAlloweds = new[]
            {
                "string",
            },
            VerifiedAllowed = false,
        },
        EnabledRepositoriesConfig = new Github.Inputs.ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs
        {
            RepositoryIds = new[]
            {
                0,
            },
        },
    });
    
    example, err := github.NewActionsOrganizationPermissions(ctx, "actionsOrganizationPermissionsResource", &github.ActionsOrganizationPermissionsArgs{
    	EnabledRepositories: pulumi.String("string"),
    	AllowedActions:      pulumi.String("string"),
    	AllowedActionsConfig: &github.ActionsOrganizationPermissionsAllowedActionsConfigArgs{
    		GithubOwnedAllowed: pulumi.Bool(false),
    		PatternsAlloweds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		VerifiedAllowed: pulumi.Bool(false),
    	},
    	EnabledRepositoriesConfig: &github.ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs{
    		RepositoryIds: pulumi.IntArray{
    			pulumi.Int(0),
    		},
    	},
    })
    
    var actionsOrganizationPermissionsResource = new ActionsOrganizationPermissions("actionsOrganizationPermissionsResource", ActionsOrganizationPermissionsArgs.builder()
        .enabledRepositories("string")
        .allowedActions("string")
        .allowedActionsConfig(ActionsOrganizationPermissionsAllowedActionsConfigArgs.builder()
            .githubOwnedAllowed(false)
            .patternsAlloweds("string")
            .verifiedAllowed(false)
            .build())
        .enabledRepositoriesConfig(ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs.builder()
            .repositoryIds(0)
            .build())
        .build());
    
    actions_organization_permissions_resource = github.ActionsOrganizationPermissions("actionsOrganizationPermissionsResource",
        enabled_repositories="string",
        allowed_actions="string",
        allowed_actions_config={
            "github_owned_allowed": False,
            "patterns_alloweds": ["string"],
            "verified_allowed": False,
        },
        enabled_repositories_config={
            "repository_ids": [0],
        })
    
    const actionsOrganizationPermissionsResource = new github.ActionsOrganizationPermissions("actionsOrganizationPermissionsResource", {
        enabledRepositories: "string",
        allowedActions: "string",
        allowedActionsConfig: {
            githubOwnedAllowed: false,
            patternsAlloweds: ["string"],
            verifiedAllowed: false,
        },
        enabledRepositoriesConfig: {
            repositoryIds: [0],
        },
    });
    
    type: github:ActionsOrganizationPermissions
    properties:
        allowedActions: string
        allowedActionsConfig:
            githubOwnedAllowed: false
            patternsAlloweds:
                - string
            verifiedAllowed: false
        enabledRepositories: string
        enabledRepositoriesConfig:
            repositoryIds:
                - 0
    

    ActionsOrganizationPermissions Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ActionsOrganizationPermissions resource accepts the following input properties:

    EnabledRepositories string
    The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    AllowedActions string
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    AllowedActionsConfig ActionsOrganizationPermissionsAllowedActionsConfig
    Sets the actions that are allowed in an organization. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    EnabledRepositoriesConfig ActionsOrganizationPermissionsEnabledRepositoriesConfig
    Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when enabled_repositories = selected. See Enabled Repositories Config below for details.
    EnabledRepositories string
    The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    AllowedActions string
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    AllowedActionsConfig ActionsOrganizationPermissionsAllowedActionsConfigArgs
    Sets the actions that are allowed in an organization. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    EnabledRepositoriesConfig ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs
    Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when enabled_repositories = selected. See Enabled Repositories Config below for details.
    enabledRepositories String
    The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    allowedActions String
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowedActionsConfig ActionsOrganizationPermissionsAllowedActionsConfig
    Sets the actions that are allowed in an organization. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabledRepositoriesConfig ActionsOrganizationPermissionsEnabledRepositoriesConfig
    Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when enabled_repositories = selected. See Enabled Repositories Config below for details.
    enabledRepositories string
    The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    allowedActions string
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowedActionsConfig ActionsOrganizationPermissionsAllowedActionsConfig
    Sets the actions that are allowed in an organization. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabledRepositoriesConfig ActionsOrganizationPermissionsEnabledRepositoriesConfig
    Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when enabled_repositories = selected. See Enabled Repositories Config below for details.
    enabled_repositories str
    The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    allowed_actions str
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowed_actions_config ActionsOrganizationPermissionsAllowedActionsConfigArgs
    Sets the actions that are allowed in an organization. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabled_repositories_config ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs
    Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when enabled_repositories = selected. See Enabled Repositories Config below for details.
    enabledRepositories String
    The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    allowedActions String
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowedActionsConfig Property Map
    Sets the actions that are allowed in an organization. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabledRepositoriesConfig Property Map
    Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when enabled_repositories = selected. See Enabled Repositories Config below for details.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ActionsOrganizationPermissions resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ActionsOrganizationPermissions Resource

    Get an existing ActionsOrganizationPermissions resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ActionsOrganizationPermissionsState, opts?: CustomResourceOptions): ActionsOrganizationPermissions
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allowed_actions: Optional[str] = None,
            allowed_actions_config: Optional[ActionsOrganizationPermissionsAllowedActionsConfigArgs] = None,
            enabled_repositories: Optional[str] = None,
            enabled_repositories_config: Optional[ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs] = None) -> ActionsOrganizationPermissions
    func GetActionsOrganizationPermissions(ctx *Context, name string, id IDInput, state *ActionsOrganizationPermissionsState, opts ...ResourceOption) (*ActionsOrganizationPermissions, error)
    public static ActionsOrganizationPermissions Get(string name, Input<string> id, ActionsOrganizationPermissionsState? state, CustomResourceOptions? opts = null)
    public static ActionsOrganizationPermissions get(String name, Output<String> id, ActionsOrganizationPermissionsState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AllowedActions string
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    AllowedActionsConfig ActionsOrganizationPermissionsAllowedActionsConfig
    Sets the actions that are allowed in an organization. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    EnabledRepositories string
    The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    EnabledRepositoriesConfig ActionsOrganizationPermissionsEnabledRepositoriesConfig
    Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when enabled_repositories = selected. See Enabled Repositories Config below for details.
    AllowedActions string
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    AllowedActionsConfig ActionsOrganizationPermissionsAllowedActionsConfigArgs
    Sets the actions that are allowed in an organization. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    EnabledRepositories string
    The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    EnabledRepositoriesConfig ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs
    Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when enabled_repositories = selected. See Enabled Repositories Config below for details.
    allowedActions String
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowedActionsConfig ActionsOrganizationPermissionsAllowedActionsConfig
    Sets the actions that are allowed in an organization. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabledRepositories String
    The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    enabledRepositoriesConfig ActionsOrganizationPermissionsEnabledRepositoriesConfig
    Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when enabled_repositories = selected. See Enabled Repositories Config below for details.
    allowedActions string
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowedActionsConfig ActionsOrganizationPermissionsAllowedActionsConfig
    Sets the actions that are allowed in an organization. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabledRepositories string
    The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    enabledRepositoriesConfig ActionsOrganizationPermissionsEnabledRepositoriesConfig
    Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when enabled_repositories = selected. See Enabled Repositories Config below for details.
    allowed_actions str
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowed_actions_config ActionsOrganizationPermissionsAllowedActionsConfigArgs
    Sets the actions that are allowed in an organization. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabled_repositories str
    The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    enabled_repositories_config ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs
    Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when enabled_repositories = selected. See Enabled Repositories Config below for details.
    allowedActions String
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowedActionsConfig Property Map
    Sets the actions that are allowed in an organization. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabledRepositories String
    The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    enabledRepositoriesConfig Property Map
    Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when enabled_repositories = selected. See Enabled Repositories Config below for details.

    Supporting Types

    ActionsOrganizationPermissionsAllowedActionsConfig, ActionsOrganizationPermissionsAllowedActionsConfigArgs

    GithubOwnedAllowed bool
    Whether GitHub-owned actions are allowed in the organization.
    PatternsAlloweds List<string>
    Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@, monalisa/octocat@v2, monalisa/."
    VerifiedAllowed bool
    Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
    GithubOwnedAllowed bool
    Whether GitHub-owned actions are allowed in the organization.
    PatternsAlloweds []string
    Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@, monalisa/octocat@v2, monalisa/."
    VerifiedAllowed bool
    Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
    githubOwnedAllowed Boolean
    Whether GitHub-owned actions are allowed in the organization.
    patternsAlloweds List<String>
    Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@, monalisa/octocat@v2, monalisa/."
    verifiedAllowed Boolean
    Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
    githubOwnedAllowed boolean
    Whether GitHub-owned actions are allowed in the organization.
    patternsAlloweds string[]
    Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@, monalisa/octocat@v2, monalisa/."
    verifiedAllowed boolean
    Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
    github_owned_allowed bool
    Whether GitHub-owned actions are allowed in the organization.
    patterns_alloweds Sequence[str]
    Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@, monalisa/octocat@v2, monalisa/."
    verified_allowed bool
    Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
    githubOwnedAllowed Boolean
    Whether GitHub-owned actions are allowed in the organization.
    patternsAlloweds List<String>
    Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@, monalisa/octocat@v2, monalisa/."
    verifiedAllowed Boolean
    Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.

    ActionsOrganizationPermissionsEnabledRepositoriesConfig, ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs

    RepositoryIds List<int>
    List of repository IDs to enable for GitHub Actions.
    RepositoryIds []int
    List of repository IDs to enable for GitHub Actions.
    repositoryIds List<Integer>
    List of repository IDs to enable for GitHub Actions.
    repositoryIds number[]
    List of repository IDs to enable for GitHub Actions.
    repository_ids Sequence[int]
    List of repository IDs to enable for GitHub Actions.
    repositoryIds List<Number>
    List of repository IDs to enable for GitHub Actions.

    Import

    This resource can be imported using the name of the GitHub organization:

    $ pulumi import github:index/actionsOrganizationPermissions:ActionsOrganizationPermissions test github_organization_name
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    GitHub pulumi/pulumi-github
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the github Terraform Provider.
    github logo
    GitHub v6.3.2 published on Friday, Oct 11, 2024 by Pulumi