Small fixups

This commit is contained in:
Ettore Di Giacinto
2025-03-13 22:23:31 +01:00
parent a1cdabd0a8
commit 53ebcdad5d

View File

@@ -102,7 +102,7 @@ func (g *GithubRepositoryCreateOrUpdateContent) Definition() action.ActionDefini
}, },
} }
if g.defaultBranch != "" { if g.defaultBranch == "" {
properties["branch"] = jsonschema.Definition{ properties["branch"] = jsonschema.Definition{
Type: jsonschema.String, Type: jsonschema.String,
Description: "The branch to create/update the file", Description: "The branch to create/update the file",