Greetings,
I am using the GitHub Node in n8n (as described here: GitHub Node Docs).
I need to upload files to a GitHub repo. If the file already exists, I want to replace it; if it doesn’t, I want to create it.
However, the GitHub node currently throws an error if the file already exists. My current workaround is to check if the file exists, delete it, and then upload it, but this adds extra nodes to my workflow.
Is there a way to create or replace a file in a single step without errors?
Thanks!