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

Cannot create RepositoryFile due to "sha" wasn't supplied. [] #26

Closed
nesl247 opened this issue May 1, 2020 · 3 comments
Closed

Cannot create RepositoryFile due to "sha" wasn't supplied. [] #26

nesl247 opened this issue May 1, 2020 · 3 comments
Labels
kind/bug Some behavior is incorrect or out of spec resolution/no-repro This issue wasn't able to be reproduced

Comments

@nesl247
Copy link

nesl247 commented May 1, 2020

pulumi up -s LinioIT/global
Previewing update (LinioIT/global):
     Type                            Name                 Plan
     pulumi:pulumi:Stack             api-skeleton-global
 +   └─ github:index:RepositoryFile  mergeable            create

Resources:
    + 1 to create
    10 unchanged

Do you want to perform this update? yes
Updating (LinioIT/global):
     Type                            Name                 Status                  Info
     pulumi:pulumi:Stack             api-skeleton-global  **failed**              1 error
 +   └─ github:index:RepositoryFile  mergeable            **creating failed**     1 error

Diagnostics:
  pulumi:pulumi:Stack (api-skeleton-global):
    error: update failed

  github:index:RepositoryFile (mergeable):
    error: PUT https://api.github.com/repos/LinioIT/api-skeleton/contents/.github/mergeable.yml: 422 Invalid request.

    "sha" wasn't supplied. []

Resources:
    10 unchanged

Duration: 11s
@nesl247
Copy link
Author

nesl247 commented May 8, 2020

@hcharley
Copy link

hcharley commented Sep 20, 2020

I've bumped into this too, just to give context on impact.

 
  github:index:RepositoryFile (services:files:README-md):
    error: PUT https://api.github.com/repos/xxx/ops-services/contents/README.md: 422 Invalid request.
    
    "sha" wasn't supplied. []

@mikhailshilkov mikhailshilkov added kind/bug Some behavior is incorrect or out of spec resolution/no-repro This issue wasn't able to be reproduced labels Aug 9, 2023
@mikhailshilkov
Copy link
Member

Unfortunately, the link to the upstream issue doesn't work anymore. Since the issue is three years old, received no additional comments and has no repro, I'll close it as non-actionable

@mikhailshilkov mikhailshilkov closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec resolution/no-repro This issue wasn't able to be reproduced
Projects
None yet
Development

No branches or pull requests

4 participants