Skip to content

Record that pull_request_creation_policy is applied outside Terraform - #57

Merged
donbeave merged 1 commit into
mainfrom
docs/pr-creation-policy-todo
Nov 14, 2026
Merged

donbeave merged 1 commit into
mainfrom
docs/pr-creation-policy-todo

Conversation

@donbeave

Copy link
Copy Markdown
Contributor

Why

The owner decided on 2026-11-15 that every tailrocks repository takes pull requests from collaborators only (pull_request_creation_policy = collaborators_only). The integrations/github provider (pinned ~> 6.13, newest 6.13.0) cannot set this field yet. Support is pending in integrations/terraform-provider-github#3479, which resolves issue #3198.

What changes

  • The setting is already applied through PATCH /repos/{owner}/{repo}. Terraform does not know the field, so it will not revert it.
  • This PR only adds a TODO comment in modules/repository-policy/main.tf, so Terraform takes the setting over once the provider ships it. No resource change; nothing to apply.

API change summary

  • 54 repositories listed; 50 changed from all to collaborators_only; 4 archived ones skipped (velnor-actions-fixture-legacy, homebrew-velnor-legacy, velnor-apt-legacy, velnor-legacy); 0 failures.
  • has_pull_requests unchanged (true everywhere).

Checks

tofu fmt -check -recursive and tofu validate pass locally.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Alexey Zhokhov <alexey@zhokhov.com>
@donbeave
donbeave marked this pull request as ready for review November 14, 2026 19:16
@donbeave
donbeave merged commit 4772ff3 into main Nov 14, 2026
11 checks passed
@donbeave
donbeave deleted the docs/pr-creation-policy-todo branch November 14, 2026 19:18
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.

1 participant