is anyone using github provider for pulumi? I am doing something where i need to create a short lived github branch, add some files, and then PR it in. This is a problem because the repo auto deletes merged branches. Is there a way to tell a resource to not recreate it unless the content changes and if it does creates a new pr?
https://github.com/number3ai/pegasus/blob/main/aws/eks/helpers/git-helpers.ts#L46-L104
t
thankful-flower-8175
09/09/2024, 2:25 AM
Not an answer because I don't know but
you could do that check using the GitHub api right? So if there is no way you can just write code to
e
elegant-secretary-74577
09/09/2024, 1:18 PM
unfortunately that is the path i think I am going to have to go down. I wish the github branch had a key to ignore if the branch and PR don't not exist (post creation).