Releases: integrations/terraform-provider-github
v6.7.5
v6.7.4
v6.7.4
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: v6.7.3...v6.7.4
v6.7.3
v6.7.3
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: v6.7.2...v6.7.3
v6.7.2
v6.7.2
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: v6.7.1...v6.7.2
v6.7.1
v6.7.1
Bug Fixes
- github_actions_organization_secret: Add state migration for
destroy_on_driftfield 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: v6.7.0...v6.7.1
v6.7.0
What's Changed
🚀 New Features
- feat: Added organization role support by @stevehipwell in #2487
- feat: Add file path protection to rulesets by @grahamhar in #2415
- feat: Support team organization role assignment by @felixlut in #2322
- feat: Add support for 'exempt' github_repository_ruleset bypass_mode by @joshhunt in #2764
- feat: Add
github_actions_organization_secret_repositoryresource by @ylascombe in #2760 - feat: 🏳️ Custom properties resource & data by @alileza in #2107
- feat: Add support for
DeployKeyactor type in repository and organization rulesets by @tiulpin in #2748
🐛 Bugfixes
- fix: Allow parallel_requests to be set on github.com by @SamuZad in #2715
- fix: Fixed issue labels adoption by @stevehipwell in #2430
- fix: Importing rulesets by @ihor-hrytskiv in #2488
- fix: Add missed parameter to the github_organization_ruleset by @yurii-kysil in #2545
- fix: Bypass actors not being deleted from repository rulesets by @dblinkhorn in #2780
- fix(resource/github_actions_environment_variable): handle existing va… by @nebrass in #2758
- fix: Allow missing types of rule bypasses by @languitar in #2726
- fix: Fixed nil deref bug for ruleset response by @eldad in #2762
- fix: Destroy the resource on drift by @yordis in #1351
- fix: Fixed repository resource churn by @stevehipwell in #2501
- fix: Fixed branch protection v3 status checks churn by @stevehipwell in #2502
- fix: Fixed team data source detailed repos by @stevehipwell in #2509
- fix: Fixed org teams data lookup parent id by @stevehipwell in #2507
🛠️ Maintenance
- deps: Ensures that all dependencies are up to date based on go.mod by @nickfloyd in #2788
- build(deps): bump the github-actions group across 1 directory with 2 updates by @dependabot[bot] in #2783
- build(deps): bump github.com/ulikunitz/xz from 0.5.8 to 0.5.14 by @dependabot[bot] in #2791
- build(deps): bump github.com/hashicorp/go-getter from 1.5.3 to 1.7.9 by @dependabot[bot] in #2790
- build(deps): bump github.com/go-viper/mapstructure/v2 from 2.0.0 to 2.4.0 by @dependabot[bot] in #2789
- build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.3 to 3.0.4 by @dependabot[bot] in #2793
- maint: Updates makefile to handle missing the LC_UUID command and dydl errors when running make by @nickfloyd in #2774
- maint: Adds tests for PR-2502 by @nickfloyd in #2799
- maint: Adds coverage for bypass_modes in rulesets by @oikarinen in #2802
- maint: Change support message now that we don't do the Monday/Friday thing by @kfcampbell in #2615
- maint: Note that GitHub Support doesn't provide support for this integration by @davidstaheli in #2665
- maint: Deprecated classic project resources by @stevehipwell in #2506
📝 Documentation
- docs: Add documentation for github_organization_custom_properties by @nickfloyd in #2785
- docs: Add missing navigation for github_organization_role_team_assignment by @nickfloyd in #2787
- docs: Updates docs for PR #2488 by @nickfloyd in #2797
- docs: Clarify repository description in webhook schema by @AlexaDeWit in #2765
- docs: Fix anchor links of github_repository_ruleset documentation by @fatbasstard in #2798
New Contributors
- @davidstaheli made their first contribution in #2665
- @yordis made their first contribution in #1351
- @SamuZad made their first contribution in #2715
- @yurii-kysil made their first contribution in #2545
- @fatbasstard made their first contribution in #2798
- @dblinkhorn made their first contribution in #2780
- @joshhunt made their first contribution in #2764
- @AlexaDeWit made their first contribution in #2765
- @languitar made their first contribution in #2726
- @eldad made their first contribution in #2762
- @oikarinen made their first contribution in #2802
- @tiulpin made their first contribution in #2748
- @nebrass made their first contribution in #2758
- @ylascombe made their first contribution in #2760
Full Changelog: v6.6.0...v6.7.0
v6.6.0
What's Changed
- feat: add support for merge queues in repository rulesets by @MXfive in #2380
- Add support for GitHub Enterprise Cloud Data residency by @EricDales in #2547
- fix: graceful handling of 404 in github_actions_repository_oidc_subject_claim_customization_template by @acouvreur in #2483
New Contributors
- @MXfive made their first contribution in #2380
- @EricDales made their first contribution in #2547
- @acouvreur made their first contribution in #2483
Full Changelog: v6.5.0...v6.6.0
v6.5.0
What's Changed
🛠️ Maintenance
- build(deps): bump the github-actions group across 1 directory with 2 updates by @dependabot in #2472
- build(deps): bump the github-actions group across 1 directory with 2 updates by @dependabot in #2517
- build(deps): bump golang.org/x/crypto from 0.26.0 to 0.31.0 by @dependabot in #2512
- build(deps): bump github/codeql-action from 3.27.9 to 3.28.0 in the github-actions group by @dependabot in #2523
🏷 Other Changes
- docs: describe how
actor_id/integration_idcan be found by @mikutas in #2474 - [Doc] Fix documentation mistake for github_repository_dependabot_security_update resource to use GitHub repository name by @ViacheslavKudinov in #2439
- DOCS: Code section for github_organization_ruleset is not formatted as hcl by @rowieg in #2522
- Update organization security manager resource to use operations that are not deprecated by @just-joshing in #2533
- Adds do_not_enforce_on_create option for github_repository_ruleset by @lfventura in #2525
- feat: Updated repo collaborators to support ignoring teams by @stevehipwell in #2481
- feat: support repository level custom_property resource and custom_properties datasource by @felixlut in #2316
New Contributors
- @mikutas made their first contribution in #2474
- @ViacheslavKudinov made their first contribution in #2439
- @rowieg made their first contribution in #2522
- @just-joshing made their first contribution in #2533
- @lfventura made their first contribution in #2525
Full Changelog: v6.4.0...v6.5.0
v6.4.0
What's Changed
🚀 New Features
- Add support for tag-based environment deployment branch policy by @sumnerwarren in #2165
- feat!: Upgrade go-github to v66 by @ihor-hrytskiv in #2443
- feat: Support rule type code_scanning by @ihor-hrytskiv in #2436
🛠️ Maintenance
- build(deps): bump the github-actions group with 2 updates by @dependabot in #2424
- build(deps): bump github/codeql-action from 3.26.12 to 3.26.13 in the github-actions group by @dependabot in #2432
- build(deps): bump the github-actions group with 4 updates by @dependabot in #2441
🏷 Other Changes
- fix: Refactored github_repository_collaborators for team id by @stevehipwell in #2420
- Update security_and_analysis settings only when there are changes by @jamestran201 in #2397
- docs(team_membership): clarify org owner note by @bt-macole in #2435
New Contributors
- @jamestran201 made their first contribution in #2397
- @bt-macole made their first contribution in #2435
- @ihor-hrytskiv made their first contribution in #2443
- @sumnerwarren made their first contribution in #2165
Full Changelog: v6.3.1...v6.4.0
v6.3.1
What's Changed
🏷 Bug fixes
- fix: Ignore changes to attributes by @grahamhar in #2402
- fix(resource_github_actions_environment_secret): handle 404 on repo read by @scootafew in #2323
- Fix
github_external_groupsdoc title by @svg153 in #2416
🛠️ Maintenance
- build(deps): bump github/codeql-action from 3.26.5 to 3.26.7 in the github-actions group across 1 directory by @dependabot in #2388
- build(deps): bump github/codeql-action from 3.26.7 to 3.26.8 in the github-actions group by @dependabot in #2398
- chore: update go-github to V65 by @grahamhar in #2359
- build(deps): bump the github-actions group with 2 updates by @dependabot in #2406
- build(deps): bump github/codeql-action from 3.26.9 to 3.26.11 in the github-actions group by @dependabot in #2413
📝 Documentation
New Contributors
- @scootafew made their first contribution in #2323
- @svg153 made their first contribution in #2416
Full Changelog: v6.3.0...v6.4.0