Update an attached git file
workflows_patch_git(
id,
git_ref = NULL,
git_branch = NULL,
git_path = NULL,
git_repo_url = NULL,
git_ref_type = NULL,
pull_from_git = NULL
)
A list containing the following elements:
string, A git reference specifying an unambiguous version of the file. Can be a branch name, tag or the full or shortened SHA of a commit.
string, The git branch that the file is on.
string, The path of the file in the repository.
list, A list containing the following elements:
id integer, The ID for this git repository.
repoUrl string, The URL for this git repository.
createdAt string,
updatedAt string,
string, Specifies if the file is versioned by branch or tag.
boolean, Automatically pull latest commit from git. Only works for scripts and workflows (assuming you have the feature enabled)
integer required. The ID of the file.
string optional. A git reference specifying an unambiguous version of the file. Can be a branch name, or the full or shortened SHA of a commit.
string optional. The git branch that the file is on.
string optional. The path of the file in the repository.
string optional. The URL of the git repository.
string optional. Specifies if the file is versioned by branch or tag.
boolean optional. Automatically pull latest commit from git. Only works for scripts.