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

Removing CODEOWNERS file form not master branch fails #37

Open
maciej-karas-form3 opened this issue Jul 26, 2022 · 0 comments
Open

Removing CODEOWNERS file form not master branch fails #37

maciej-karas-form3 opened this issue Jul 26, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@maciej-karas-form3
Copy link

Context

I was trying to prepare to archive a repo fork-bc-java by following steps in archiving instructions. The first step requires to add prepare_archive = true property to aforementioned repository resource in infrastructure-github and it was done in PR. TFE plan succeeded but apply failed with an error:

POST https://api.github.com/repos/form3tech/fork-bc-java/git/trees: 502 Server Error 

After manually removing CODEOWNERS file in fork-bc-java repo apply succeeds.

Possible cause

It seems that this issue is occurring when the repo doesn't have master branch as a default one. fork-bc-java uses form3-patch as a default branch and master branch does not exists and doesn't contain CODEOWNERS file.

@maciej-karas-form3 maciej-karas-form3 added the good first issue Good for newcomers label Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant