Skip to content

feat: Add github_actions_organization_policy resource - #3725

Draft
jalseth wants to merge 2 commits into
integrations:mainfrom
jalseth:jalseth/actions-policies
Draft

jalseth wants to merge 2 commits into
integrations:mainfrom
jalseth:jalseth/actions-policies

Conversation

@jalseth

@jalseth jalseth commented Nov 10, 2026 •

Copy link
Copy Markdown

Addresses the repo-level configuration of #3724. Follow up work would be the organization and enterprise level configs.


Before the change?

I cannot modify repo-level Actions policies.

After the change?

I can modify repo-level Actions policies.

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?

  • Yes
  • No

adamcrews and others added 2 commits October 27, 2026 12:22
Migrate to the v93 request types. Repository creation now builds a
CreateRepositoryRequest from the expanded repository object, mapping the
same fields go-github v92 copied internally so the request body is
unchanged. A unit test fails if a request field is left unmapped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With the upcoming policy change [1], repos managed by Terraform that use
pull_request_target need a way to allow-list workflows.

[1] https://github.blog/changelog/2026-11-02-pull_request_target-blocked-by-default-december-2/

Signed-off-by: James Alseth <jalseth@google.com>
@github-actions

Copy link
Copy Markdown

👋 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.

@jalseth

jalseth commented Nov 10, 2026

Copy link
Copy Markdown
Author

NOTE: This includes the go-github v93 bump from #3705. That should be merged before this.

This branch has not been deployed

No deployments
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.

2 participants