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

Add js-libp2p-dev team and CODEOWNERS files #175

Merged
merged 1 commit into from
Aug 24, 2023
Merged

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Aug 24, 2023

Summary

Creates a js-libp2p-dev team similar to the helia-dev team and adds CODEOWNERS files to live repos to automatically tag js-libp2p-dev members as reviewers in opened PRs.

Why do you need this?

To auto-tag certain devs as PR reviewers.

What else do we need to know?

N/a

DRI: myself

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

Creates a `js-libp2p-dev` team similar to the `helia-dev` team and adds `CODEOWNERS` files to live repos to automatically tag `js-libp2p-dev` members as reviewers in opened PRs.
@achingbrain achingbrain requested review from a team as code owners August 24, 2023 06:01
@github-actions
Copy link
Contributor

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

Terraform plans

libp2p

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # github_repository_file.this["interop/codeowners"] will be created
  + resource "github_repository_file" "this" {
      + branch              = "master"
      + commit_author       = "GitHub"
      + commit_email        = "[email protected]"
      + commit_message      = "chore: Update CODEOWNERS [skip ci]"
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            * @libp2p/js-libp2p-dev
        EOT
      + file                = "CODEOWNERS"
      + id                  = (known after apply)
      + overwrite_on_create = false
      + ref                 = (known after apply)
      + repository          = "interop"
      + sha                 = (known after apply)
    }

  # github_repository_file.this["js-libp2p-bootstrap/codeowners"] will be created
  + resource "github_repository_file" "this" {
      + branch              = "master"
      + commit_author       = "GitHub"
      + commit_email        = "[email protected]"
      + commit_message      = "chore: Update CODEOWNERS [skip ci]"
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            * @libp2p/js-libp2p-dev
        EOT
      + file                = "CODEOWNERS"
      + id                  = (known after apply)
      + overwrite_on_create = false
      + ref                 = (known after apply)
      + repository          = "js-libp2p-bootstrap"
      + sha                 = (known after apply)
    }

  # github_repository_file.this["js-libp2p-cms/codeowners"] will be created
  + resource "github_repository_file" "this" {
      + branch              = "main"
      + commit_author       = "GitHub"
      + commit_email        = "[email protected]"
      + commit_message      = "chore: Update CODEOWNERS [skip ci]"
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            * @libp2p/js-libp2p-dev
        EOT
      + file                = "CODEOWNERS"
      + id                  = (known after apply)
      + overwrite_on_create = false
      + ref                 = (known after apply)
      + repository          = "js-libp2p-cms"
      + sha                 = (known after apply)
    }

  # github_repository_file.this["js-libp2p-daemon/codeowners"] will be created
  + resource "github_repository_file" "this" {
      + branch              = "master"
      + commit_author       = "GitHub"
      + commit_email        = "[email protected]"
      + commit_message      = "chore: Update CODEOWNERS [skip ci]"
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            * @libp2p/js-libp2p-dev
        EOT
      + file                = "CODEOWNERS"
      + id                  = (known after apply)
      + overwrite_on_create = false
      + ref                 = (known after apply)
      + repository          = "js-libp2p-daemon"
      + sha                 = (known after apply)
    }

  # github_repository_file.this["js-libp2p-delegated-content-routing/codeowners"] will be created
  + resource "github_repository_file" "this" {
      + branch              = "master"
      + commit_author       = "GitHub"
      + commit_email        = "[email protected]"
      + commit_message      = "chore: Update CODEOWNERS [skip ci]"
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            * @libp2p/js-libp2p-dev
        EOT
      + file                = "CODEOWNERS"
      + id                  = (known after apply)
      + overwrite_on_create = false
      + ref                 = (known after apply)
      + repository          = "js-libp2p-delegated-content-routing"
      + sha                 = (known after apply)
    }

  # github_repository_file.this["js-libp2p-delegated-peer-routing/codeowners"] will be created
  + resource "github_repository_file" "this" {
      + branch              = "master"
      + commit_author       = "GitHub"
      + commit_email        = "[email protected]"
      + commit_message      = "chore: Update CODEOWNERS [skip ci]"
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            * @libp2p/js-libp2p-dev
        EOT
      + file                = "CODEOWNERS"
      + id                  = (known after apply)
      + overwrite_on_create = false
      + ref                 = (known after apply)
      + repository          = "js-libp2p-delegated-peer-routing"
      + sha                 = (known after apply)
    }

  # github_repository_file.this["js-libp2p-pubsub-peer-discovery/codeowners"] will be created
  + resource "github_repository_file" "this" {
      + branch              = "master"
      + commit_author       = "GitHub"
      + commit_email        = "[email protected]"
      + commit_message      = "chore: Update CODEOWNERS [skip ci]"
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            * @libp2p/js-libp2p-dev
        EOT
      + file                = "CODEOWNERS"
      + id                  = (known after apply)
      + overwrite_on_create = false
      + ref                 = (known after apply)
      + repository          = "js-libp2p-pubsub-peer-discovery"
      + sha                 = (known after apply)
    }

  # github_repository_file.this["js-libp2p/codeowners"] will be created
  + resource "github_repository_file" "this" {
      + branch              = "master"
      + commit_author       = "GitHub"
      + commit_email        = "[email protected]"
      + commit_message      = "chore: Update CODEOWNERS [skip ci]"
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            * @libp2p/js-libp2p-dev
        EOT
      + file                = "CODEOWNERS"
      + id                  = (known after apply)
      + overwrite_on_create = false
      + ref                 = (known after apply)
      + repository          = "js-libp2p"
      + sha                 = (known after apply)
    }

  # github_team.this["js-libp2p-dev"] will be created
  + resource "github_team" "this" {
      + create_default_maintainer = false
      + description               = "js-libp2p developers and engineers"
      + etag                      = (known after apply)
      + id                        = (known after apply)
      + members_count             = (known after apply)
      + name                      = "js-libp2p-dev"
      + node_id                   = (known after apply)
      + privacy                   = "closed"
      + slug                      = (known after apply)
    }

  # github_team_membership.this["js-libp2p-dev:achingbrain"] will be created
  + resource "github_team_membership" "this" {
      + etag     = (known after apply)
      + id       = (known after apply)
      + role     = "maintainer"
      + team_id  = (known after apply)
      + username = "achingbrain"
    }

  # github_team_membership.this["js-libp2p-dev:maschad"] will be created
  + resource "github_team_membership" "this" {
      + etag     = (known after apply)
      + id       = (known after apply)
      + role     = "member"
      + team_id  = (known after apply)
      + username = "maschad"
    }

  # github_team_membership.this["js-libp2p-dev:sgtpooki"] will be created
  + resource "github_team_membership" "this" {
      + etag     = (known after apply)
      + id       = (known after apply)
      + role     = "member"
      + team_id  = (known after apply)
      + username = "SgtPooki"
    }

  # github_team_membership.this["js-libp2p-dev:wemeetagain"] will be created
  + resource "github_team_membership" "this" {
      + etag     = (known after apply)
      + id       = (known after apply)
      + role     = "member"
      + team_id  = (known after apply)
      + username = "wemeetagain"
    }

  # github_team_membership.this["js-libp2p-dev:whizzzkid"] will be created
  + resource "github_team_membership" "this" {
      + etag     = (known after apply)
      + id       = (known after apply)
      + role     = "member"
      + team_id  = (known after apply)
      + username = "whizzzkid"
    }

Plan: 14 to add, 0 to change, 0 to destroy.

@p-shahi p-shahi merged commit 30ee48e into master Aug 24, 2023
6 checks passed
@p-shahi p-shahi deleted the achingbrain-patch-2 branch August 24, 2023 06:22
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