Skip to content

chore(deps): update terraform github to v6.11.1#256

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github-6.x-lockfile
Open

chore(deps): update terraform github to v6.11.1#256
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github-6.x-lockfile

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 6, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change
github (source) required_provider minor 6.3.06.11.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

integrations/terraform-provider-github (github)

v6.11.1

Compare Source

What's Changed

🐛 Bugfixes
Maintenance

Full Changelog: integrations/terraform-provider-github@v6.11.0...v6.11.1

v6.11.0

Compare Source

What's Changed

🚀 New Features
🐛 Bugfixes
🛠️ Maintenance

New Contributors

Full Changelog: integrations/terraform-provider-github@v6.10.2...v6.11.0

v6.10.2

Compare Source

What's Changed

🐛 Bugfixes
📝 Documentation

New Contributors

Full Changelog: integrations/terraform-provider-github@v6.10.1...v6.10.2

v6.10.1

Compare Source

⚠️ This release is deprecated, please use v6.10.2 instead

NOTE: This reverts a breaking change.

What's Changed

🐛 Bugfixes

Full Changelog: integrations/terraform-provider-github@v6.10.0...v6.10.1

v6.10.0

Compare Source

⚠️ This release is deprecated, please use v6.10.1 instead

What's Changed

🚀 New Features
🐛 Bugfixes
🪦 Deprecations
  • [MAINT] Deprecate has_downloads field of github_repository by @​deiga in #​3063
🛠️ Maintenance

New Contributors

Full Changelog: integrations/terraform-provider-github@v6.9.1...v6.10.0

v6.9.1

Compare Source

What's Changed

🐛 Bugfixes
📝 Documentation
Docs
Maintenance
  • chore: update readme to reference min go version compatible with go.mod by @​anGie44 in #​3014

New Contributors

Full Changelog: integrations/terraform-provider-github@v6.9.0...v6.9.1

v6.9.0

Compare Source

What's Changed

🚀 New Features
🐛 Bugfixes
🪦 Deprecations
🛠️ Maintenance

New Contributors

Full Changelog: integrations/terraform-provider-github@v6.8.0...v6.9.0

v6.8.3

Compare Source

Updates how we handle secrets to address provider config and initialization issues (ref: #​2903)

Full Changelog: integrations/terraform-provider-github@v6.8.2...v6.8.3

v6.8.2

Compare Source

⚠️ This release is deprecated, please use v6.8.3 instead

This merge brings the following enhancements from v6.7.5:

  • Added destroy_on_drift field to both github_actions_secret and github_actions_organization_secret
  • Improved drift detection logic with configurable behavior
  • Added schema migrations for backward compatibility
  • Enhanced test coverage for drift detection scenarios
  • Fixed ForceNew field configurations

Full Changelog: integrations/terraform-provider-github@v6.8.1...v6.8.2

v6.8.1

Compare Source

⚠️ This release is deprecated, please use v6.8.2 instead

fix: max_file_size was declared as an int but being cast as a float
fix: restricted_file_extensions was panicing due to a Set type mismatch

Full Changelog: integrations/terraform-provider-github@v6.8.0...v6.8.1

v6.8.0

Compare Source

What's Changed

🚀 New Features
  • fix/feature: Adds support for max_file_size, max_file_path_length, file_extension_restriction, and unknown rulesets for repos and orgs by @​nickfloyd in #​2821
  • feat: Handle error management on resources when dealing with archived repos. by @​nickfloyd in #​2837
  • feat: Update removal operations for related resources to now gracefully handle deleting archived repositories by @​nickfloyd in #​2844
  • feat: support workflow permissions in repository by @​M0NsTeRRR in #​2309
  • feat: implement missing data source github_actions_environment_public_key by @​nobbs in #​2500
  • feat: Adds migration for destory-on-drift for actions organization secret to prevent state from getting out of sync with the schema by @​nickfloyd in #​2820
  • feat: Adds DiffSuppressFunc and DiffSuppressOnRefresh to resources that have etag properties to suppress etag-related diffs by @​nickfloyd in #​2840
  • feat: Max per page by @​dee-kryvenko in #​2703
  • feat(core): add fork functionality by @​hminaee-tc in #​2678
🐛 Bugfixes
🛠️ Maintenance
📝 Documentation

New Contributors

Full Changelog: integrations/terraform-provider-github@v6.7.0...v6.8.0

v6.7.5

Compare Source

[fix]: v6.7.4 causes Internal validation error during TF Init #​2855

Full Changelog: integrations/terraform-provider-github@v6.7.4...v6.7.5

v6.7.4

Compare Source

v6.7.4

⚠️ This release is deprecated, please use v6.7.5 instead

This patch appropriately handles the cases when a Terraform resource has an Update function defined (which was recently added), the Terraform SDK requires that any field that can change must either have ForceNew: true (meaning changes require resource recreation) or for that field to be a computed-only field.

The destroy_on_drift field is a provider config setting that controls how drift detection works - it's not a field that maps to the GitHub API. When implementations try to change this field Terraform will execute the plan properly but fail on the apply because the Update function didn't know how to handle the destroy_on_drift change.

Lastly reads now handle setting encrypted_value and plaintext_value to nil to trigger an update when the "stored" update dates do not match.

Full Changelog: integrations/terraform-provider-github@v6.7.3...v6.7.4

v6.7.3

Compare Source

v6.7.3

⚠️ This release is deprecated, please use v6.7.5 instead

This patch addresses the issue where the Update function was missed during the cherry pick for github_actions_secret resource.
Tests were also added to avoid regressions in the future.

Full Changelog: integrations/terraform-provider-github@v6.7.2...v6.7.3

v6.7.2

Compare Source

v6.7.2

⚠️ This release is deprecated, please use v6.7.5 instead

Note: This patch contains the addition of the destroy_on_drift property to github_actions_secret resource because the exact same issue was present there as well.

Bug Fixes

Fixed drift detection bug that caused "Provider produced inconsistent result" errors in github_actions_organization_secret and github_actions_secret resources. The bug occurred when secrets were modified externally - the timestamp wasn't being updated after drift detection, causing infinite loops of false positive drift detection. | #​2832

Features

Added destroy_on_drift property to github_actions_secret resource (repository-level secrets), and matches the functionality already available in github_actions_organization_secret. Also includes proper schema migration from v0 to v1 and ensures the property defaults to true for backward compatibility. | #​2832

Full Changelog: integrations/terraform-provider-github@v6.7.1...v6.7.2

v6.7.1

Compare Source

v6.7.1

⚠️ This release is deprecated, please use v6.7.5 instead

Bug Fixes
  • github_actions_organization_secret: Add state migration for destroy_on_drift field to fix regression from v6.7.0 (#​2820)

This patch release fixes a regression introduced in v6.7.0 where existing github_actions_organization_secret resources would show invalid state for the new destroy_on_drift field.

The fix adds a schema migration that automatically sets destroy_on_drift=true for existing resources that don't have this field, preventing the need for manual state fixes.

Fixes: #​2804

Full Changelog: integrations/terraform-provider-github@v6.7.0...v6.7.1

v6.7.0

Compare Source

What's Changed

🚀 New Features
🐛 Bugfixes
🛠️ Maintenance
📝 Documentation

New Contributors


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@claude
Copy link

claude bot commented Jan 6, 2026

PR #256 レビュー - GitHub Terraform Provider 依存関係更新

概要

このPRはGitHub Terraform Providerを v6.3.0 から v6.9.1 にアップデートするRenovateによる自動更新です。


✅ コード品質とベストプラクティス

良好な点:

  • .terraform.lock.hcl ファイルの更新が適切に行われています
  • 両方の影響を受けるディレクトリ(github/ および sakuracloud/)で一貫して更新されています
  • バージョン制約 ~> 6.0 は維持されており、メジャーバージョンの破壊的変更を避ける戦略が継続されています

🔍 潜在的な問題とバグ

重要な注意点:

  1. 複数のバグ修正が含まれています - v6.3.0からv6.9.1の間に多数のバグ修正が行われています:

    • Ruleset関連のBoolean変換によるPanicの修正
    • Organization custom properties、repository environment deployment、organization roleの修正
    • Rate limit roundtripperのmutexリーク修正
    • Repository作成時のvulnerability alerts処理の改善
  2. 非推奨バージョンの迂回 - v6.7.2〜v6.7.4、v6.8.1〜v6.8.2は非推奨とマークされており、v6.9.1への直接アップデートは正しい選択です

  3. 新機能の追加 - 新しいリソースや機能が追加されていますが、既存のコードには影響しません:

    • Enterprise settings resources
    • Actions hosted runner resource
    • Repository workflow permissions

🔒 セキュリティの懸念事項

セキュリティ改善:

  • レート制限処理の修正により、コンテキストキャンセルが適切に処理されるようになりました(v6.9.1)
  • 依存関係の更新には golang.org/x/crypto のアップデートも含まれています

推奨事項:

  • セキュリティ関連の修正が含まれているため、このアップデートは推奨されます

🎯 パフォーマンスの考慮事項

  • Rate limit処理の改善により、API呼び出しの効率が向上する可能性があります
  • Mutex leak修正により、長時間実行時のメモリ使用量が改善されます

🧪 テストカバレッジ

推奨アクション:
このアップデート後、以下のテストを実施することを推奨します:

  1. Terraform Plan の実行

    cd github && terraform init -upgrade && terraform plan
    cd ../sakuracloud && terraform init -upgrade && terraform plan
  2. 主要な機能のテスト:

    • GitHubリポジトリ管理
    • チーム管理
    • Ruleset設定(特に複数のバグ修正が行われているため)

📝 推奨事項

  1. このPRは承認を推奨します - 重要なバグ修正とセキュリティ改善が含まれています

  2. ⚠️ マージ前に実施すべきこと:

    • terraform plan を実行して意図しない変更がないことを確認
    • 特にruleset、organization custom properties、repository environmentを使用している場合は注意深く確認
  3. 📋 マージ後の監視:

    • Terraform適用時のエラーや警告に注意
    • GitHub API rate limitの動作を監視

まとめ

このアップデートは安全で、多くのバグ修正とセキュリティ改善が含まれています。破壊的変更は報告されていないため、リスクは低いと判断されます。terraform plan で確認後、マージすることを推奨します。


このレビューは Claude Code により生成されました

@renovate renovate bot force-pushed the renovate/github-6.x-lockfile branch from 1f66f47 to 5af1fc8 Compare January 16, 2026 18:51
@renovate renovate bot changed the title Update Terraform github to v6.9.1 Update Terraform github to v6.10.0 Jan 16, 2026
@claude
Copy link

claude bot commented Jan 16, 2026

PR #256 レビュー結果

このPRは、GitHub Terraformプロバイダーを v6.3.0 から v6.10.0 にアップグレードする依存関係更新です。

✅ 良い点

  1. 適切な依存関係管理: Renovate Botによる自動的な依存関係更新で、セキュリティパッチやバグ修正を取り込めます
  2. ロックファイルの更新: .terraform.lock.hcl ファイルが2つのディレクトリ(github/sakuracloud/)で適切に更新されています
  3. 段階的なアップグレード: マイナーバージョンアップ(6.3.0 → 6.10.0)で、破壊的変更のリスクが低い

🔍 確認が必要な項目

1. 破壊的変更と非推奨機能

プロバイダーのリリースノートによると、以下の非推奨化があります:

  • has_downloads フィールド (v6.10.0): github_repository リソースで非推奨化
  • 既存のコードベースでこのフィールドを使用している場合は、将来的な削除に備えて対応が必要です

2. 新機能の影響確認

v6.8.0-v6.10.0で追加された主な機能:

  • プライベートフォーク機能のサポート
  • Organization workflow権限リソース
  • Copilot code reviewのルールセット対応
  • アーカイブされたリポジトリのエラーハンドリング改善

これらの新機能は既存のコードに影響を与えませんが、今後活用できる可能性があります。

3. 重要なバグ修正

以下のバグ修正が含まれています:

  • ルールセットのbypass_actors更新時のエラー修正 (v6.8.0, v6.10.0)
  • environment名のエスケープ処理修正 (v6.10.0)
  • SAMLエンフォースメントエラー時のenterpriseリソースのtaint防止 (v6.10.0)

🧪 テスト推奨事項

マージ前に以下のテストを推奨します:

# 1. Terraform初期化
cd github/
terraform init -upgrade

cd ../sakuracloud/
terraform init -upgrade

# 2. プラン実行(差分確認)
cd ../github/
terraform plan

cd ../sakuracloud/
terraform plan

# 3. バリデーション
terraform validate

⚠️ 注意事項

  1. has_downloads の使用確認:

    grep -r "has_downloads" github/ sakuracloud/

    このフィールドを使用している場合は、将来の削除に備えて計画を立てる必要があります。

  2. ステート互換性: マイナーバージョンアップですが、念のため本番環境への適用前にステージング環境でテストすることを推奨します。

  3. CI/CDパイプライン: 既存のCI/CDパイプラインが正常に動作することを確認してください。

📊 セキュリティ考慮事項

  • このアップグレードには複数のバグ修正とセキュリティ改善が含まれています
  • 特にrate limit処理の改善 (v6.8.0) やmutexリーク修正 (v6.9.1) が含まれており、プロダクション環境での安定性向上が期待できます

🎯 推奨アクション

マージ推奨: 以下の条件を満たしていれば、このPRはマージして問題ありません:

  1. terraform plan で予期しない差分が発生しない
  2. has_downloads フィールドを使用していない、または移行計画がある
  3. CI/CDパイプラインのテストが全てパスしている

レビュー実施: Claude Code による自動レビュー

@renovate renovate bot force-pushed the renovate/github-6.x-lockfile branch from 5af1fc8 to d2381c8 Compare January 16, 2026 21:40
@renovate renovate bot changed the title Update Terraform github to v6.10.0 Update Terraform github to v6.10.1 Jan 16, 2026
@claude
Copy link

claude bot commented Jan 16, 2026

プルリクエストレビュー - PR #256

📋 概要

このPRは、Renovate BotによるGitHub Terraform Providerのバージョン更新です。バージョン6.3.0から6.10.1へのマイナーバージョンアップデートとなります。

✅ 変更内容

以下の2つの.terraform.lock.hclファイルが更新されています:

  • github/.terraform.lock.hcl
  • sakuracloud/.terraform.lock.hcl

バージョン制約~> 6.0は維持されており、この更新は制約の範囲内です。


🔍 コード品質とベストプラクティス

✅ 良い点

  1. 適切なバージョン制約: ~> 6.0という制約により、マイナーバージョンの更新が自動的に適用されます
  2. 一貫性のある更新: 複数のディレクトリで同じバージョンに更新されており、一貫性が保たれています
  3. 自動化: Renovate Botによる自動更新により、依存関係の最新化が継続的に行われています

🐛 潜在的な問題とリスク

⚠️ 注意が必要な点

  1. 破壊的変更の可能性

    • v6.3.0からv6.10.1の間に複数のマイナーリリースがあり、以下の変更が含まれています:
      • v6.8.0でhas_downloadsフィールドが非推奨化
      • v6.10.0でallowed_merge_methodsの動作変更(v6.10.1で修正済み)
    • 使用中のリソースがこれらの非推奨フィールドを使っていないか確認が必要です
  2. 新機能の追加

    • Organization workflow permissions
    • Team notification settings
    • Private forking support
    • Copilot code review in rulesets
    • これらの新機能により、既存のリソース定義が影響を受ける可能性があります
  3. バグフィックスの確認

    • 複数のバグ修正が含まれており、現在の環境で問題が発生していた場合は改善される可能性があります
    • 特にruleset、organization settings、repository環境周りのバグ修正が多数含まれています

🔒 セキュリティ上の懸念

✅ セキュリティ改善

  • このPRには既知のセキュリティ脆弱性の修正は含まれていませんが、プロバイダーの最新化によりセキュリティパッチが適用される可能性があります
  • 依存関係を最新に保つことは、セキュリティベストプラクティスの観点から推奨されます

⚡ パフォーマンスの考慮事項

  • v6.9.0でrate limit処理の改善が含まれています
  • パフォーマンスへの直接的な影響は小さいと予想されます

🧪 テストカバレッジ

⚠️ テスト実施の推奨

このPRをマージする前に、以下のテストを実施することを強く推奨します:

  1. terraform plan の実行

    cd github && terraform plan
    cd ../sakuracloud && terraform plan
    • 意図しない変更が検出されないか確認
  2. 主要リソースの動作確認

    • 特にrepository、organization settings、rulesetsなどのリソースを使用している場合
  3. 非推奨警告の確認

    • has_downloadsフィールドを使用している場合は警告が出る可能性があります

📝 推奨事項

  1. マージ前の確認

    • 両環境でterraform planを実行し、差分がないことを確認
    • CIパイプラインが正常に完了することを確認
  2. 段階的なデプロイ

    • 可能であれば、開発環境で先にテストしてから本番環境に適用
  3. ロールバック計画

    • 問題が発生した場合のロールバック手順を準備
  4. ドキュメントの確認


🎯 総合評価

評価: ✅ 承認推奨(条件付き)

このPRは、依存関係を最新に保つための標準的な更新です。コード品質に問題はありませんが、以下の条件を満たすことを推奨します:

  • terraform planで意図しない差分が発生しないことを確認
  • ✅ CIテストが全て成功していることを確認
  • ⚠️ 非推奨フィールド(has_downloads)を使用していないことを確認

📚 参考リンク


レビュー作成者: Claude Code
レビュー日時: 2026-01-16

@renovate renovate bot changed the title Update Terraform github to v6.10.1 Update Terraform github to v6.10.2 Jan 20, 2026
@renovate renovate bot force-pushed the renovate/github-6.x-lockfile branch from d2381c8 to ff5c950 Compare January 20, 2026 17:35
@renovate renovate bot force-pushed the renovate/github-6.x-lockfile branch from ff5c950 to 0dcd791 Compare February 5, 2026 01:10
@renovate renovate bot changed the title Update Terraform github to v6.10.2 Update Terraform github to v6.11.0 Feb 5, 2026
@renovate renovate bot force-pushed the renovate/github-6.x-lockfile branch from 0dcd791 to 7ceda3b Compare February 11, 2026 21:47
@renovate renovate bot changed the title Update Terraform github to v6.11.0 Update Terraform github to v6.11.1 Feb 11, 2026
@renovate renovate bot changed the title Update Terraform github to v6.11.1 chore(deps): update terraform github to v6.11.1 Feb 21, 2026
@renovate renovate bot force-pushed the renovate/github-6.x-lockfile branch from 7ceda3b to 9f9dc13 Compare February 27, 2026 13:53
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.

0 participants