Skip to content

feat: Add github_actions_organization_permissions data source to provider#3466

Open
casstait-qctrl wants to merge 1 commit into
integrations:mainfrom
casstait-qctrl:add-github-actions-organization-permissions-data-source
Open

feat: Add github_actions_organization_permissions data source to provider#3466
casstait-qctrl wants to merge 1 commit into
integrations:mainfrom
casstait-qctrl:add-github-actions-organization-permissions-data-source

Conversation

@casstait-qctrl
Copy link
Copy Markdown

@casstait-qctrl casstait-qctrl commented Jun 2, 2026

Resolves #3465


Before the change?

github_actions_organization_permissions data source was not available

After the change?

New data source github_actions_organization_permissions:

data "github_actions_organization_permissions" "example" {
}

Attributes Reference

  • allowed_actions - The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.

  • enabled_repositories - 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_config - (Set when allowed_actions is selected) The actions that are allowed in the organization.

    • github_owned_allowed - Whether GitHub-owned actions are allowed in the organization.
    • patterns_allowed - Specifies a list of string-matching patterns to allow specific action(s).
    • verified_allowed - Whether actions in GitHub Marketplace from verified creators are allowed.
  • enabled_repositories_config - (Set when enabled_repositories is selected) The list of selected repositories enabled for GitHub Actions.

    • repository_ids - List of repository IDs enabled for GitHub Actions.
  • sha_pinning_required - Whether pinning to a specific SHA is required for all actions and reusable workflows in an organization.

Pull request checklist

  • Schema migrations have been created if needed (example)
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

👋 Hi, and thank you for this contribution!

This repo is maintained by GitHub and community members on a best-effort basis. We'll get to this as soon as we can.

You can help us prioritize by joining the discussion on open issues and PRs, sharing details on the changes you need, and reviewing other contributions.


🤖 This is an automated message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT]: Add github_actions_organization_permissions data source

1 participant