fix: remove duplicate filecoin-pin collaborator - #212
Merged
BigLep merged 1 commit intoJun 11, 2026
Merged
Conversation
Contributor
|
The following access changes will be introduced as a result of applying the plan: Access Changes |
Contributor
|
Before merge, verify that all the following plans are correct. After merge, Apply will regenerate the plans from the merged commit and continue only if they match. Terraform plansfilecoin-projectTerraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
# github_repository_collaborator.this["filecoin-pin:filozzy"] must be replaced
-/+ resource "github_repository_collaborator" "this" {
~ id = "filecoin-pin:FilOzzy" -> (known after apply)
+ invitation_id = (known after apply)
~ permission = "push" -> "admin" # forces replacement
+ permission_diff_suppression = false
# (2 unchanged attributes hidden)
}
# github_repository_collaborator.this["filecoin-pin:juliangruber"] must be replaced
-/+ resource "github_repository_collaborator" "this" {
~ id = "filecoin-pin:juliangruber" -> (known after apply)
+ invitation_id = (known after apply)
~ permission = "push" -> "admin" # forces replacement
+ permission_diff_suppression = false
# (2 unchanged attributes hidden)
}
Plan: 2 to add, 0 to change, 2 to destroy. |
BigLep
approved these changes
Jun 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
juliangruberfrom thefilecoin-pinpush collaborators because they are already listed as adminFilOzzyandjuliangruberas admin-only entries forfilecoin-pinContext
This fixes the Terraform duplicate object key failure from the Apply run after #211 merged:
https://github.com/filecoin-project/github-mgmt/actions/runs/27330972116/job/80743094826
Terraform reported the duplicate key as
filecoin-pin:juliangruber.Validation
ruby -ryaml -e 'cfg=YAML.load_file("github/filecoin-project.yml"); c=cfg.dig("repositories","filecoin-pin","collaborators") || {}; %w[FilOzzy juliangruber].each { |u| raise "#{u} missing admin" unless (c["admin"] || []).include?(u); %w[maintain push triage pull].each { |p| raise "#{u} duplicate #{p}" if (c[p] || []).include?(u) } }; puts "filecoin-pin admin-only collaborators OK"'\n-git diff --check