Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unarchive rainbow and broaden access #172

Merged
merged 3 commits into from
Oct 4, 2023
Merged

Unarchive rainbow and broaden access #172

merged 3 commits into from
Oct 4, 2023

Conversation

aschmahmann
Copy link
Contributor

@aschmahmann aschmahmann commented Oct 4, 2023

Summary

Unarchiving rainbow and giving some standard groups access.

Why do you need this?

The repo was archived as mostly unusable, now with boxo this is much easier! Want to experiment and see how it goes.

What else do we need to know?

DRI: @aschmahmann

Reviewer's Checklist

  • It is clear where the request is coming from (if unsure, ask)
  • All the automated checks passed
  • The YAML changes reflect the summary of the request
  • The Terraform plan posted as a comment reflects the summary of the request

@aschmahmann aschmahmann requested review from a team as code owners October 4, 2023 16:34
@aschmahmann aschmahmann requested a review from galargh October 4, 2023 16:34
@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2023

Before merge, verify that all the following plans are correct. They will be applied as-is after the merge.

Terraform plans

ipfs

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create
  ~ update in-place
-/+ destroy and then create replacement

Terraform will perform the following actions:

  # github_repository.this["rainbow"] will be updated in-place
  ~ resource "github_repository" "this" {
      ~ archived                    = true -> false
      ~ default_branch              = "master" -> "main"
        id                          = "rainbow"
        name                        = "rainbow"
      ~ topics                      = [
          + "http",
          + "ipfs",
          + "ipfs-gateway",
        ]
        # (30 unchanged attributes hidden)

      ~ security_and_analysis {

          ~ secret_scanning {
              ~ status = "disabled" -> "enabled"
            }

          ~ secret_scanning_push_protection {
              ~ status = "disabled" -> "enabled"
            }
        }
    }

  # github_repository_collaborator.this["rainbow:web3-bot"] will be created
  + resource "github_repository_collaborator" "this" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "rainbow"
      + username                    = "web3-bot"
    }

  # github_repository_file.this["rainbow/.github/workflows/stale.yml"] must be replaced
-/+ resource "github_repository_file" "this" {
      ~ branch              = "master" -> "main" # forces replacement
      ~ commit_sha          = "9c4cd6c4403a2a2618a804cdb191795a0c14238e" -> (known after apply)
      ~ id                  = "rainbow/.github/workflows/stale.yml" -> (known after apply)
      ~ ref                 = "master" -> (known after apply)
      ~ sha                 = "6f6d895d19361a0219079a97d8eb216f5d9e66a1" -> (known after apply)
        # (7 unchanged attributes hidden)
    }

  # github_team_repository.this["admin:rainbow"] will be created
  + resource "github_team_repository" "this" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "admin"
      + repository = "rainbow"
      + team_id    = "1516991"
    }

  # github_team_repository.this["ipdx:rainbow"] will be created
  + resource "github_team_repository" "this" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "push"
      + repository = "rainbow"
      + team_id    = "6349983"
    }

  # github_team_repository.this["w3dt-stewards:rainbow"] will be created
  + resource "github_team_repository" "this" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "push"
      + repository = "rainbow"
      + team_id    = "4656983"
    }

Plan: 5 to add, 1 to change, 1 to destroy.

Comment on lines +8283 to +8285
collaborators:
push:
- web3-bot
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC this will now effectively enable Unified CI on the repo.

@aschmahmann aschmahmann merged commit f04b7ea into master Oct 4, 2023
6 checks passed
@aschmahmann aschmahmann deleted the rainbow branch October 4, 2023 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants