Skip to content

fix(repository): require github provider >= 6.12 - #53

Merged
posquit0 merged 1 commit into
mainfrom
fix/repository-min-github-provider
Nov 20, 2026
Merged

posquit0 merged 1 commit into
mainfrom
fix/repository-min-github-provider

Conversation

@posquit0

@posquit0 posquit0 commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Background

  • modules/repository/versions.tf declares integrations/github >= 6.2, but the module needs >= 6.12:
  • Impact: a caller whose lock file or constraints resolve to a provider older than 6.12 passes the version constraint, then fails at terraform validate/plan with The provider integrations/github does not support resource type "github_repository_vulnerability_alerts".

References

Description

  • modules/repository/versions.tf: >= 6.2 → >= 6.12
  • modules/repository/README.md: requirements/providers table regenerated with terraform-docs

🚨 To Reviewers

  • The nested repository-environment module's own constraint is fixed in a separate PR (fix(repository-environment): require github provider >= 6.12 #54); this PR does not depend on it.
  • Validation:
    • Provider schema comparison (terraform providers schema -json): github_repository_vulnerability_alerts is absent in 6.2.0 and 6.11.0 and present in 6.12.0.
    • origin/main copy with the provider pinned to = 6.11.0: terraform validate fails (does not support resource type "github_repository_vulnerability_alerts", An argument named "value" is not expected here). Pinned to = 6.12.0: valid.
    • On this branch: terraform fmt -check -recursive clean; terraform init -backend=false + terraform validate in modules/repository succeed (resolved 6.13.0; only the existing autocreate_branch deprecation warning).
    • Not tested: plan/apply against the GitHub API.

Worktree: ~/.git-worktrees/tedilabs/terraform-github-modules/repository-min-github-provider/

@github-actions github-actions Bot added size/XS Extra Small size issue or PR. 💾 repository This issue or pull request is related to repository module. labels Nov 20, 2026
@github-actions

Copy link
Copy Markdown

Terraform Integration

Directory fmt validate tflint docs
modules/repository ✅ ✅ ✅ ✅

✅ All 1 passed.

@posquit0
posquit0 merged commit 8bfbfae into main Nov 20, 2026
7 checks passed
@posquit0
posquit0 deleted the fix/repository-min-github-provider branch November 20, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💾 repository This issue or pull request is related to repository module. size/XS Extra Small size issue or PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant