Releases: integrations/terraform-provider-github
Releases Β· integrations/terraform-provider-github
v6.12.0
What's Changed
π New Features
- feat: add data sources for listing GitHub App installations in an organization by @atilsensalduz in #2573
- [FEAT] Add missing IP ranges to DS
github_ip_rangesby @deiga in #3157 - feat: Refactor repository collaborators by @stevehipwell in #3233
- feat : Support repository property for GitHub organization ruleset by @Moser-ss in #2356
- feat: Adding github_enterprise_ip_allow_list_entry resource by @ErikElkins in #2649
- [FEAT] Add new resource for repository vulnerability alerts by @deiga in #3166
- [FEAT] Add
github_repository_pagesResource and Data Source by @deiga in #3168
π Bugfixes
- [MAINT] Fix test of Org Repo Roles by @deiga in #3193
- fix: only set web_commit_signoff_required if explicitly configured by @steveteuber in #3165
- Bugfix: tokenFromGHCLI not stripping api. from ghe.com hosts. Resolves #3188 by @clawster in #3190
- fix: Correct logic for github_actions_organization_workflow_permissions by @stevehipwell in #3222
- fix: respect proxy env vars in anonymous http client by @dvcorreia in #3326
- [BUG] Enable setting review notifications without delegation by @deiga in #3220
- fix: use correct getter for members_can_fork_private_repositories in org data source by @andrewesweet in #3359
πͺ¦ Deprecations
π οΈ Maintenance
- build(deps): bump the github-actions group with 2 updates by @dependabot[bot] in #3171
- [MAINT] Migrate to use
terraform-plugin-testinginstead of the SDK testing package by @deiga in #3066 - build(deps): bump the gomod group across 1 directory with 3 updates by @dependabot[bot] in #3192
- build(deps): bump github/codeql-action from 4.32.2 to 4.32.3 in the github-actions group by @dependabot[bot] in #3197
- [MAINT] Add enterprise EMU testing config by @deiga in #3179
- chore: Update go-github to v83 by @stevehipwell in #3204
- feat: Use read context for data sources by @stevehipwell in #3206
- feat: Fixup repository environment logic by @stevehipwell in #3162
- [MAINT] Upgrade
golangci-lintv2.10 &goto 1.26 by @deiga in #3244 - chore: Update go-github to v84 by @stevehipwell in #3238
- chore: Update go-github to v85 by @stevehipwell in #3356
π Documentation
- docs(actions_permissions): sha_pinning_required by @sheeeng in #3182
- docs: add example on how to grant security manager role with github_organization_role_team resource by @KyriosGN0 in #3031
- Update repository ruleset documentation by @JiayangZhou in #3209
π· Other Changes
- docs: swap group_id & team_slug in import by @kpocius in #3184
- [MAINT] Upgrade v4 client package by @deiga in #3194
- feat: Refactor secret values by @stevehipwell in #3225
- [MAINT] Consolidate ID format of
github_emu_group_mappingby @deiga in #3215
New Contributors
- @kpocius made their first contribution in #3184
- @KyriosGN0 made their first contribution in #3031
- @atilsensalduz made their first contribution in #2573
- @clawster made their first contribution in #3190
- @dvcorreia made their first contribution in #3326
- @andrewesweet made their first contribution in #3359
Full Changelog: v6.11.1...v6.12.0
v6.11.1
What's Changed
π Bugfixes
- fix: Only send allow_forking on change by @stevehipwell in #3174
- fix: Type mismatch in
team_idofemu_group_mappingby @deiga in #3163
Maintenance
Full Changelog: v6.11.0...v6.11.1
v6.11.0
What's Changed
π New Features
- feat: allow users to set GitHub app in their repositories by @M0NsTeRRR in #2469
- feat: add github_release_asset data source by @mdb in #2514
- feat(actions_permissions): sha_pinning_required by @sheeeng in #2870
- feat: Consistent secret and variable selected repos by @stevehipwell in #3155
- feat: Add ruleset rule for pull request required reviewers by @deiga in #3073
- feat: support internal visibility for repositories created by a template by @puneet-arora15 in #3123
π Bugfixes
- fix: Correct forking and vulnerability alert logic by @stevehipwell in #3127
- fix: Correct ruleset pr allowed merge method logic by @stevehipwell in #3128
- fix: Relax id parsing strictness for existing ids by @stevehipwell in #3129
- fix(environments): swallow 404 not found errors by @acouvreur in #3132
- fix: Correct repo vulnerability alert logic by @stevehipwell in #3144
- fix: Correct secret drift implementation by @stevehipwell in #3069
- fix: Ensure
github_emu_group_mappingbehaves correctly if mapping changes upstream by @deiga in #3118
π οΈ Maintenance
- [MAINT] Fix ruleset tests after rebase by @deiga in #3153
- [MAINT] enable nilnesserr linter by @deiga in #3113
- [MAINT] Remove unnecessary separate API call for repo topics in
github_repositoryby @deiga in #3086 - [MAINT] refactor
github_repository_fileto use Context-aware provider functions by @deiga in #3107 - [MAINT] Fix
github_organization_rulesetandgithub_repository_rulesetwithpushtarget by @deiga in #2958 - chore(actions): Add doc how to verify GitHub Attestations with GitHub cli and verify release artifacts with Cosign by @ViacheslavKudinov in #2846
- chore: Refactor test provider by @stevehipwell in #3146
- chore: Update go-github to v82 by @stevehipwell in #3139
- chore: Simplify codeql workflow by @stevehipwell in #3138
- build(deps): bump the github-actions group across 1 directory with 5 updates by @dependabot[bot] in #3141
- build(deps): bump the gomod group across 1 directory with 2 updates by @dependabot[bot] in #3091
New Contributors
- @puneet-arora15 made their first contribution in #3123
- @sheeeng made their first contribution in #2870
Full Changelog: v6.10.2...v6.11.0
v6.10.2
What's Changed
π Bugfixes
- fix: Revert provider input constraints by @stevehipwell in #3099
- chore: Fix repo allow forking by @stevehipwell in #3094
π Documentation
New Contributors
Full Changelog: v6.10.1...v6.10.2
v6.10.1
v6.10.0
What's Changed
π New Features
- feat: Update go-github to v81 by @stevehipwell in #3050
- feat: Add support for repo private forking by @stevehipwell in #3056
- feat: Add team notification settings by @stevehipwell in #3059
- feat: Add Organization workflow permission resource by @deiga in #3015
- feat: Add support for Copilot code review in repository and organization rulesets by @JiayangZhou in #2965
π Bugfixes
- fix: Correct private forking implementation by @stevehipwell in #3067
- fix: ensure failed membership invite can be deleted by @deiga in #3058
- fix: Revert anon auth complication by @deiga in #3071
- fix: Prevent enterprise org taint on SAML enforcement error by @ericpardee in #3026
- fix: Escape environment name for id by @stevehipwell in #3079
- fix: Enable importing
github_emu_group_mappingfor Group with multiple teams by @deiga in #3054 - fix: Fix Org Ruleset tests && enable
allowed_merge_methodsby @deiga in #2976
πͺ¦ Deprecations
π οΈ Maintenance
- maint: Refactor integration tests by @stevehipwell in #2986
- maint: Ensure all acc tests have testacc prefix by @deiga in #3064
- maint: Add regression test for #2614 by @deiga in #3062
- maint: Improve provider tests by @deiga in #3061
- maint: Link directly to an example file to keep the link current when changes happen by @deiga in #3019
- maint: Properly enable test sweeper by @deiga in #3055
- maint: Update GNUmakefile to enhance test command functionality by @deiga in #3051
- maint: Convert legacy Schema Migrations to use StateUpgraders by @deiga in #3065
- maint: migrate releases resource and data source to context-aware fun⦠by @tempora-mutantur in #3036
- build(deps): bump anchore/sbom-action from 0.21.0 to 0.21.1 in the github-actions group by @dependabot[bot] in #3075
- build(deps): bump the gomod group across 1 directory with 2 updates by @dependabot[bot] in #3057
- build(deps): bump the github-actions group across 1 directory with 5 updates by @dependabot[bot] in #3013
New Contributors
- @JiayangZhou made their first contribution in #2965
- @ericpardee made their first contribution in #3026
- @tempora-mutantur made their first contribution in #3036
Full Changelog: v6.9.1...v6.10.0
v6.9.1
What's Changed
π Bugfixes
- fix: Fixes boolean conversions in rulesets from causing Panics by @deiga in #2977
- fix: Fix base url regression to ensure trailing / by @stevehipwell in #2990
- fix: Fix errors as nil bomb by @stevehipwell in #2992
- fix: Fix organization_custom_properties create by @stevehipwell in #2995
- fix: Fix repository environment deployment by @stevehipwell in #2993
- fix: Correct github_organization_role_teams & github_organization_role_users by @stevehipwell in #2994
- fix:
github_organization_roleEnsurerole_idis set after Create by @deiga in #3011 - fix(RateLimitRoundtripper): Fix mutex leak and not respecting context cancellation by @pete-woods in #2298
- fix: Ensure repository creation works if vulnerability-alerts isn't modifiable on repo level by @deiga in #3024
π Documentation
Docs
- docs: Fix documented block name for ignored collaborator teams by @tabacco in #2551
- docs: correct grammar errors in data.github_release docs by @mdb in #2515
- docs: Add missing link to schema for
merge_queuerepository rule by @usmonster in #2581
Maintenance
New Contributors
- @pete-woods made their first contribution in #2298
- @tabacco made their first contribution in #2551
Full Changelog: v6.9.0...v6.9.1
v6.9.0
What's Changed
π New Features
- feat: Adds enterprise settings resources to the provider by @nickfloyd in #2852
- feat: Add values_editable_by support to github_organization_custom_properties by @markszabo in #2931
- feat: Add functionality to update github_branch_default instead of forcing replacement by @thisispr in #2911
- feat: Align environment branch policy support by @stevehipwell in #2932
- feat: Add github_actions_hosted_runner resource by @austenstone in #2893
- feat: Refactor workflows by @stevehipwell in #2946
π Bugfixes
- fix HTTP 422 error in github_organization_settings resource by @netflash in #2807
- fix(github_repository_file): delete error handling and codesigning by @ivanmartos in #2736
- fix required_code_scanning missing from terraform state by @stricklerxc in #2701
- fix: do not update/create rulesets on archived repository by @scadu in #2460
- fix: change
forktoTypeStringand add conditional ForceNew by @diofeher in #2959 - fix: missing error returns by @nickfloyd in #2962
- fix: Fix org roles implementation by @stevehipwell in #2968
πͺ¦ Deprecations
- fix: make repository argument required by @mikutas in #2603
- fix(organization_ruleset): handle other error responses by @skeggse in #2705
π οΈ Maintenance
- chore(actions): Add release stack and extra validation test on Release (tag event) by @ViacheslavKudinov in #2904
- chore: Integrate v6.8.3 into main by @nickfloyd in #2902
- chore: Deprecate duplicate org team role resources by @stevehipwell in #2933
- chore: Update security and analysis by @Brink2Three in #2935
- chore: Update golangci-lint to v2 by @stevehipwell in #2864
- chore: Refactor base url logic by @stevehipwell in #2951
- build(deps): bump the github-actions group with 2 updates by @dependabot[bot] in #2923
- build(deps): bump golang.org/x/crypto from 0.43.0 to 0.45.0 by @dependabot[bot] in #2927
- build(deps): bump actions/checkout from 5.0.1 to 6.0.0 by @dependabot[bot] in #2939
- build(deps): bump actions/setup-go from 6.0.0 to 6.1.0 in the github-actions group by @dependabot[bot] in #2938
- build(deps): bump the gomod group across 1 directory with 4 updates by @dependabot[bot] in #2942
- build(deps): bump github/codeql-action from 4.31.4 to 4.31.5 in the github-actions group by @dependabot[bot] in #2956
New Contributors
- @Brink2Three made their first contribution in #2935
- @markszabo made their first contribution in #2931
- @thisispr made their first contribution in #2911
- @austenstone made their first contribution in #2893
- @netflash made their first contribution in #2807
- @ivanmartos made their first contribution in #2736
- @stricklerxc made their first contribution in #2701
- @skeggse made their first contribution in #2705
- @scadu made their first contribution in #2460
- @diofeher made their first contribution in #2959
Full Changelog: v6.8.0...v6.9.0
v6.8.3
v6.8.2
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: v6.8.1...v6.8.2