Highlights
- New GitHub API client: a rewritten client implementation (#3448) on go-github v88 (#3441), with explicit concurrency control (#3491) and a base-url handling refactor (#3510). Groundwork for steadier API behavior.
- Ruleset bypass actors expanded: EnterpriseOwner (#3487) and User (#3438) are now valid bypass actor types.
- Reliability fixes: fixed a nil-pointer panic when deleting github_team_repository (#3518), refactored github_team_members and handled the parent-team-already-gone case (#3499, #3461, #3498), stopped repository collaborators drifting on owner (#3471), and corrected the repository environment diff logic (#3469).
- Acceptance-test automation is now enabled in CI (#3502), with stricter linting for new code (#3430).
What's Changed
🚀 New Features
- feat: Add new gh client implementation by @stevehipwell in #3448
- [FEAT] Add User as repository ruleset bypass actor by @manugeorge04 in #3438
- feat: Add EnterpriseOwner as bypass actor type for rulesets by @nitinjain999 in #3487
🐛 Bugfixes
- [BUG]: fix github repository file id escaping by @deiga in #3415
- fix: Correct repository environment diff function logic by @stevehipwell in #3469
- fix: Stop repo collaborators drifting on owner by @stevehipwell in #3471
- fix: Correctly parse acceptance test url by @stevehipwell in #3490
- fix: skip github_team_members deletion when parent team is already gone by @nitinjain999 in #3461
- feat: Refactor github_team_members by @stevehipwell in #3499
- fix: read immediate github_team_members only, not child-team members by @robert-crandall in #3498
- [MAINT] Improve Import behaviour of
github_default_branchby @deiga in #3216 - fix: add plan-time validation to key_prefix in autolink reference resource (#3176) by @LeC-D in #3277
- feat: Refactor new client logic to use base url by @stevehipwell in #3510
- Fix nil-pointer panic when deleting github_team_repository by @rilical in #3518
🛠️ Maintenance
- chore: Use tf plugin docs by @stevehipwell in #3380
- build(deps): bump the github-actions group across 1 directory with 5 updates by @dependabot[bot] in #3397
- chore: Update dependabot for tools dir and security updates by @stevehipwell in #3398
- build(deps): bump the github-actions group across 1 directory with 2 updates by @dependabot[bot] in #3400
- build(deps): bump actions/attest-build-provenance from 3.2.0 to 4.1.0 by @dependabot[bot] in #3401
- build(deps): bump hashicorp/setup-terraform from 3.1.2 to 4.0.0 by @dependabot[bot] in #3404
- build(deps): bump crazy-max/ghaction-import-gpg from 6.3.0 to 7.0.0 by @dependabot[bot] in #3402
- build(deps): bump the github-actions group across 1 directory with 2 updates by @dependabot[bot] in #3408
- build(deps): bump goreleaser/goreleaser-action from 6.4.0 to 7.2.1 by @dependabot[bot] in #3403
- build(deps): bump the gomod group across 1 directory with 5 updates by @dependabot[bot] in #3399
- [MAINT] Upgrade go-jose to v4 by @deiga in #3357
- build(deps): bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4 in the gomod-security group across 1 directory by @dependabot[bot] in #3412
- Bump go-github to v86 by @Gaardsholt in #3413
- build(deps): bump the github-actions group across 1 directory with 3 updates by @dependabot[bot] in #3427
- build(deps): bump golang.org/x/crypto from 0.50.0 to 0.51.0 in the gomod group across 1 directory by @dependabot[bot] in #3426
- [MAINT] Update issue templates by @ViacheslavKudinov in #3261
- [MAINT] Use
gofmtto rewrite unwanted patterns by @deiga in #3265 - [MAINT]: Introduce stricter linter rules for new code by @deiga in #3430
- [MAINT] Proposal for adding
ARCHITECTURE.mdandMAINTERS.mdby @deiga in #3196 - build(deps): bump the github-actions group across 1 directory with 4 updates by @dependabot[bot] in #3439
- chore: Refactor provider pattern and docs by @stevehipwell in #3440
- chore: Update go-github to v88 by @stevehipwell in #3441
- Configure Copilot Code Review for the provider repo by @robert-crandall in #3425
- build(deps): bump golang.org/x/crypto from 0.51.0 to 0.52.0 in the gomod group across 1 directory by @dependabot[bot] in #3453
- build(deps): bump the github-actions group across 1 directory with 3 updates by @dependabot[bot] in #3454
- ci: honest greeting + split PR/issue response jobs by @eyalgal in #3272
- [DOCS] Update repository_environments documentation by @deiga in #3266
- build(deps): bump the github-actions group across 1 directory with 3 updates by @dependabot[bot] in #3473
- chore: Add new client rate limit logging by @stevehipwell in #3486
- fix: Refactor repository custom property by @stevehipwell in #3476
- feat: Add explicit concurrency control for new client by @stevehipwell in #3491
- maint: migrate various data sources to tflog structured logging by @slymanmrcan in #3347
- build(deps): bump rvben/rumdl from 0.2.8 to 0.2.20 in the github-actions group across 1 directory by @dependabot[bot] in #3494
- build(deps): bump the gomod group across 1 directory with 2 updates by @dependabot[bot] in #3496
- refactor: migrate resource_github_issue_label to context-aware CRUD a… by @slymanmrcan in #3342
- build(deps): bump actions/checkout from 6.0.3 to 7.0.0 by @dependabot[bot] in #3507
- chore: Enable acceptance test automation by @stevehipwell in #3502
- build(deps): bump the github-actions group across 1 directory with 5 updates by @dependabot[bot] in #3511
- build(deps): bump github.com/bored-engineer/github-conditional-http-transport from 0.0.1 to 0.0.2 in the gomod group across 1 directory by @dependabot[bot] in #3513
- [MAINT] Add regression test for #3509 by @deiga in #3515
- Detect not-found via the error (errors.AsType) in github_team_repository delete by @rilical in #3524
📝 Documentation
- docs: Update repository collaborators resource docs by @stevehipwell in #3437
- doc(data github_app): Add id on data source GitHub app documentation by @ViacheslavKudinov in #3414
- chore: Add resources doc to track ongoing work by @stevehipwell in #3488
- [docs] update repository_environment resource documentation by @LarsFronius in #3481
New Contributors
- @Gaardsholt made their first contribution in #3413
- @robert-crandall made their first contribution in #3425
- @eyalgal made their first contribution in #3272
- @nitinjain999 made their first contribution in #3461
- @slymanmrcan made their first contribution in #3347
- @manugeorge04 made their first contribution in #3438
- @LarsFronius made their first contribution in #3481
- @LeC-D made their first contribution in #3277
- @rilical made their first contribution in #3518
Full Changelog: v6.12.1...v6.13.0