Repository navigation
Closed
3 / 33 of 3 issues completedLabels
Type: MaintenanceAny dependency, housekeeping, and clean up Issue or PR
Milestone
Description
Our provider is currently @ github.com/google/go-github/v66 v66.0.1-0.20241027130611-9e5757d5a766 and the tip of go-github is currently @ v76.0.0.
Massive Breaking Changes - 19 major breaking changes across 10 releases
- Repository Rulesets (v69) - Extensive type renaming (Ruleset* → RepositoryRuleset*)
- Actions Billing APIs (v76) - Complete removal of endpoints
- Required Workflows (v72) - Support completely removed
- Parameter Passing (v69, v75) - Methods changed from by-reference to by-value
- Method Renames (v76) - Edit* → Update* for permissions
Impact:
- Dev effort might be high
- High complexity due to repository ruleset refactoring
- State migrations required for backward compatibility
- Potential feature removal (Actions Billing, Required Workflows)
Migration strategy:
- Prep - Audit current usage patterns
- Address core breaking changes - Update import paths, types, methods, etc...
- Loop on each version to slowly make the changes starting with v67 then ++
- State Migrations - Implement schema migrations like the existing repository migration
- Testing & Validation - update and add tests as well as attempt to get this batch done
- Docs and comms
Key challenges:
- Repository Rulesets require the most work due to 20+ type renames
- State migrations needed to preserve existing Terraform state
- While we'll do our best to maintain backward compatibility this will be considered a breaking change
- API removals may require feature deprecation
Code of Conduct
- I agree to follow this project's Code of Conduct
Reacted by bradam12, Nikolai Røed Kristiansen, Vyacheslav Perfilyev and Mark Esler
Reacted by MATSUURA, Yosuke, Nikolai Røed Kristiansen and Mark Esler
Sub-issues
Collapse Sub-issuesSub-issues
Loading 3 sub-issues
Metadata
Metadata
Assignees
Labels
Type: MaintenanceAny dependency, housekeeping, and clean up Issue or PR
Type
Projects
- StatusShow more project fieldsDone
Activity
nickfloyd commentedon Oct 20, 2025
We are currently 10 versions behind with a multitude of breaking changes. We'll be taking an iterative approach here and do the updates one version at a time.
acouvreur commentedon Oct 22, 2025
Do you need help with that issue or are you working this on your own?
nickfloyd commentedon Oct 23, 2025
@acouvreur Help would be amazing! If you start something before I do please allow contributor access to your fork/branch and we can all work on it together. ❤️
2 remaining items
MrMon3y commentedon Nov 18, 2025
I wanted to bring awareness to GitHub's new "required review by specific teams" feature, announced on November 3, 2025. This allows enforcing team-based approvals for specific file patterns in repository rulesets, providing more granular control than traditional CODEOWNERS.
Key Benefits:
The
google/go-githubclient has been updated to support this in v79.0.0 (see PR #3811). I believe updating the Terraform provider to leverage this would enable configuration ofrequired_reviewersingithub_repository_rulesetresources.This feature is in beta but stable.
References:
Questions:
stevehipwell commentedon Jan 7, 2026
Completed by #3050.