From 53ebcdad5d85ab02318c810cf3fb1e9ec455624a Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 13 Mar 2025 22:23:31 +0100 Subject: [PATCH] Small fixups --- services/actions/githubrepositorycreateupdatecontent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/actions/githubrepositorycreateupdatecontent.go b/services/actions/githubrepositorycreateupdatecontent.go index 2e86aa4..89d4a5c 100644 --- a/services/actions/githubrepositorycreateupdatecontent.go +++ b/services/actions/githubrepositorycreateupdatecontent.go @@ -102,7 +102,7 @@ func (g *GithubRepositoryCreateOrUpdateContent) Definition() action.ActionDefini }, } - if g.defaultBranch != "" { + if g.defaultBranch == "" { properties["branch"] = jsonschema.Definition{ Type: jsonschema.String, Description: "The branch to create/update the file",