filecoin-project / github-mgmt

0 stars 6 forks source link

Make lotus-infra public and archive lotus-infra-archive #78

Closed BigLep closed 2 months ago

BigLep commented 2 months ago

This is being done in support of https://github.com/filecoin-project/lotus-infra/issues/1631

Reviewer's Checklist

github-actions[bot] commented 2 months ago

The following access changes will be introduced as a result of applying the plan:

Access Changes ``` User aarshkshah1992: - will lose admin permission to lotus-infra-archive User biglep: - will lose admin permission to lotus-infra-archive User jennijuju: - will lose admin permission to lotus-infra-archive User kubuxu: - will lose admin permission to lotus-infra-archive User magik6k: - will lose admin permission to lotus-infra-archive User masih: - will lose admin permission to lotus-infra-archive User rjan90: - will lose admin permission to lotus-infra-archive User rvagg: - will lose admin permission to lotus-infra-archive User stebalien: - will lose admin permission to lotus-infra-archive User tippyflitsuk: - will lose admin permission to lotus-infra-archive User zenground0: - will lose admin permission to lotus-infra-archive ```
github-actions[bot] commented 2 months ago

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

Terraform plans

filecoin-project ``` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place Terraform will perform the following actions: # github_repository.this["lotus-infra"] will be updated in-place ~ resource "github_repository" "this" { id = "lotus-infra" name = "lotus-infra" ~ visibility = "private" -> "public" # (31 unchanged attributes hidden) + security_and_analysis { + secret_scanning { + status = "enabled" } + secret_scanning_push_protection { + status = "enabled" } } } # github_repository.this["lotus-infra-archive"] will be updated in-place ~ resource "github_repository" "this" { ~ archived = false -> true id = "lotus-infra-archive" name = "lotus-infra-archive" # (32 unchanged attributes hidden) } Plan: 0 to add, 2 to change, 0 to destroy. ```
BigLep commented 2 months ago

The job failed but then I just made the repo public and enabled secret scanning:

image image

I assume Sunday's sync workflow will fix up the state. Otherwise I'll look into this more Monday.