Create File Content

Create file content in GitHub.

Options

Field Definition Type Required
Organization Organization for the repository that contains the new file. Dropdown TRUE
Repository Repository that contains the new file. Dropdown TRUE
Branch

Branch to which the new file will be committed; choices are Provide Branch or Use Default Branch.

The default branch is usually Main.

Dropdown TRUE

Input

Field Definition Type Required
Message Commit message. String TRUE
File Content New file content, using Base64 encoding. File TRUE
Path path+ parameter for the new file. String TRUE
Branch Name Branch name. Default is the repository's default branch (usually Main). String FALSE

Output

Field Definition Type
File Name Name of the new file. String
File Path Path and parameter of the new file. String
Content SHA Blob SHA of the new file. String
HTML URL Location of the new file. String

Related topics

GitHub connector

About the elements of Okta Workflows

GitHub API documentation