Skip to content

Conversation

@BigLep
Copy link
Contributor

@BigLep BigLep commented Jul 17, 2025

This undoes #12 given issues with file distribution through github-mgmt discussed in #10 (comment)

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

This undoes #12 given issues with file distribution through github-mgmt discussed in #10 (comment)
@github-actions
Copy link
Contributor

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

Access Changes
There will be no access changes

@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

FilOzone

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

Terraform will perform the following actions:

  # github_repository_file.this["filecoin-services-payments/.github/workflows/add-issues-and-prs-to-fs-project-board.yml"] will be destroyed
  # (because key ["filecoin-services-payments/.github/workflows/add-issues-and-prs-to-fs-project-board.yml"] is not in for_each map)
  - resource "github_repository_file" "this" {
      - branch              = "main" -> null
      - commit_author       = "GitHub" -> null
      - commit_email        = "noreply@github.com" -> null
      - commit_message      = "chore: Update .github/workflows/add-issues-and-prs-to-fs-project-board.yml [skip ci]" -> null
      - commit_sha          = "3bd5e0835629a9148d95872da5ef0b35a9723451" -> null
      - content             = <<-EOT
            ######################################################################################
            # READ THIS FIRST
            # This file is authored in FilOzone/github-mgmt repository and copied to other repos via automation.
            # If you need to make changes, either:
            # 1. Make the changes in FilOzone/github-mgmt repository OR
            # 2. Make the changes in the local repo and remove the automated copying from github-mgmt.
            ######################################################################################
            
            # This action adds all issues and PRs to the FS project board.
            # It is used to keep the project board up to date with the issues and PRs.
            # It is triggered by the issue and PR events.
            # It assumes a `FILOZZY_CI_ADD_TO_PROJECT` secret is set in the repo.
            # This secret should have the permissions outlined in https://github.com/actions/add-to-project?tab=readme-ov-file#creating-a-pat-and-adding-it-to-your-repository
            name: Add issues and PRs to FS project board
            
            on:
              issues:
                types:
                  - opened
              pull_request:
                types:
                  - opened
            
            jobs:
              add-to-project:
                name: Add all issues and prs to project
                runs-on: ubuntu-latest
                steps:
                  - uses: actions/add-to-project@v1.0.2
                    with:
                      project-url: https://github.com/orgs/FilOzone/projects/14
                      github-token: ${{ secrets.FILOZZY_CI_ADD_TO_PROJECT }}
        EOT -> null
      - file                = ".github/workflows/add-issues-and-prs-to-fs-project-board.yml" -> null
      - id                  = "filecoin-services-payments/.github/workflows/add-issues-and-prs-to-fs-project-board.yml" -> null
      - overwrite_on_create = true -> null
      - ref                 = "main" -> null
      - repository          = "filecoin-services-payments" -> null
      - sha                 = "2a611fde447840d33ddd93c5dbcb0014965511bf" -> null
    }

  # github_repository_file.this["pdp/.github/workflows/add-issues-and-prs-to-fs-project-board.yml"] will be destroyed
  # (because key ["pdp/.github/workflows/add-issues-and-prs-to-fs-project-board.yml"] is not in for_each map)
  - resource "github_repository_file" "this" {
      - branch              = "main" -> null
      - commit_author       = "GitHub" -> null
      - commit_email        = "noreply@github.com" -> null
      - commit_message      = "chore: Update .github/workflows/add-issues-and-prs-to-fs-project-board.yml [skip ci]" -> null
      - commit_sha          = "fa5c05ce90111e63a1aaf5b07c36b9f6ce4a082b" -> null
      - content             = <<-EOT
            ######################################################################################
            # READ THIS FIRST
            # This file is authored in FilOzone/github-mgmt repository and copied to other repos via automation.
            # If you need to make changes, either:
            # 1. Make the changes in FilOzone/github-mgmt repository OR
            # 2. Make the changes in the local repo and remove the automated copying from github-mgmt.
            ######################################################################################
            
            # This action adds all issues and PRs to the FS project board.
            # It is used to keep the project board up to date with the issues and PRs.
            # It is triggered by the issue and PR events.
            # It assumes a `FILOZZY_CI_ADD_TO_PROJECT` secret is set in the repo.
            # This secret should have the permissions outlined in https://github.com/actions/add-to-project?tab=readme-ov-file#creating-a-pat-and-adding-it-to-your-repository
            name: Add issues and PRs to FS project board
            
            on:
              issues:
                types:
                  - opened
              pull_request:
                types:
                  - opened
            
            jobs:
              add-to-project:
                name: Add all issues and prs to project
                runs-on: ubuntu-latest
                steps:
                  - uses: actions/add-to-project@v1.0.2
                    with:
                      project-url: https://github.com/orgs/FilOzone/projects/14
                      github-token: ${{ secrets.FILOZZY_CI_ADD_TO_PROJECT }}
        EOT -> null
      - file                = ".github/workflows/add-issues-and-prs-to-fs-project-board.yml" -> null
      - id                  = "pdp/.github/workflows/add-issues-and-prs-to-fs-project-board.yml" -> null
      - overwrite_on_create = true -> null
      - ref                 = "main" -> null
      - repository          = "pdp" -> null
      - sha                 = "2a611fde447840d33ddd93c5dbcb0014965511bf" -> null
    }

  # github_repository_file.this["synapse-sdk/.github/workflows/add-issues-and-prs-to-fs-project-board.yml"] will be destroyed
  # (because key ["synapse-sdk/.github/workflows/add-issues-and-prs-to-fs-project-board.yml"] is not in for_each map)
  - resource "github_repository_file" "this" {
      - branch              = "master" -> null
      - commit_author       = "GitHub" -> null
      - commit_email        = "noreply@github.com" -> null
      - commit_message      = "chore: Update .github/workflows/add-issues-and-prs-to-fs-project-board.yml [skip ci]" -> null
      - commit_sha          = "579ef070d795ee55521b7d5c81bf66016768a5e1" -> null
      - content             = <<-EOT
            ######################################################################################
            # READ THIS FIRST
            # This file is authored in FilOzone/github-mgmt repository and copied to other repos via automation.
            # If you need to make changes, either:
            # 1. Make the changes in FilOzone/github-mgmt repository OR
            # 2. Make the changes in the local repo and remove the automated copying from github-mgmt.
            ######################################################################################
            
            # This action adds all issues and PRs to the FS project board.
            # It is used to keep the project board up to date with the issues and PRs.
            # It is triggered by the issue and PR events.
            # It assumes a `FILOZZY_CI_ADD_TO_PROJECT` secret is set in the repo.
            # This secret should have the permissions outlined in https://github.com/actions/add-to-project?tab=readme-ov-file#creating-a-pat-and-adding-it-to-your-repository
            name: Add issues and PRs to FS project board
            
            on:
              issues:
                types:
                  - opened
              pull_request:
                types:
                  - opened
            
            jobs:
              add-to-project:
                name: Add all issues and prs to project
                runs-on: ubuntu-latest
                steps:
                  - uses: actions/add-to-project@v1.0.2
                    with:
                      project-url: https://github.com/orgs/FilOzone/projects/14
                      github-token: ${{ secrets.FILOZZY_CI_ADD_TO_PROJECT }}
        EOT -> null
      - file                = ".github/workflows/add-issues-and-prs-to-fs-project-board.yml" -> null
      - id                  = "synapse-sdk/.github/workflows/add-issues-and-prs-to-fs-project-board.yml" -> null
      - overwrite_on_create = true -> null
      - ref                 = "master" -> null
      - repository          = "synapse-sdk" -> null
      - sha                 = "2a611fde447840d33ddd93c5dbcb0014965511bf" -> null
    }

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

BigLep added a commit to FilOzone/filecoin-pay that referenced this pull request Jul 17, 2025
Making clear that this file is manually copied now as a result of FilOzone/github-mgmt#15

See FilOzone/github-mgmt#10 for more info.
BigLep added a commit to FilOzone/pdp that referenced this pull request Jul 17, 2025
Making clear that this file is manually copied now as a result of FilOzone/github-mgmt#15

See FilOzone/github-mgmt#10 for more info.
BigLep added a commit to FilOzone/synapse-sdk that referenced this pull request Jul 17, 2025
Making clear that this file is manually copied now as a result of FilOzone/github-mgmt#15

See FilOzone/github-mgmt#10 for more info.
@BigLep BigLep marked this pull request as ready for review July 17, 2025 04:09
@BigLep BigLep requested a review from rjan90 July 17, 2025 04:09
rjan90 pushed a commit to FilOzone/filecoin-pay that referenced this pull request Jul 17, 2025
Making clear that this file is manually copied now as a result of
FilOzone/github-mgmt#15

See FilOzone/github-mgmt#10 for more info.
@BigLep BigLep merged commit 296e228 into master Jul 17, 2025
6 checks passed
BigLep added a commit to FilOzone/pdp that referenced this pull request Jul 17, 2025
Making clear that this file is manually copied now as a result of FilOzone/github-mgmt#15

See FilOzone/github-mgmt#10 for more info.
BigLep added a commit to FilOzone/synapse-sdk that referenced this pull request Jul 17, 2025
Making clear that this file is manually copied now as a result of FilOzone/github-mgmt#15

See FilOzone/github-mgmt#10 for more info.
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.

3 participants