Skip to main content

Create file in GitHub

Create file in GitHub.

Application

  • GitHub

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Connected accountThe connected account to use for the requestConnected AccountYes
Repository ownerText (Short)Yes
Repository nameText (Short)Yes
File pathThe file path of the file. Has to contain the full pathText (Short)Yes
File contentThe text content of the fileText (Long)Yes
Commit messageText (Long)Yes
Author nameThe name of the author of the commitText (Short)No
Author emailThe email of the author of the commitEmailNo
Branch nameThe branch to commit to. If not set the repository’s default branch (usually master) is used.Text (Short)No
Committer nameThe name of the user who committedText (Short)No
Committer emailThe email of the user who committedEmailNo

Outputs (what you get)

NameDescriptionData TypeRequired?Example
JSON OutputJSON output returned by the APIText (Long)No

Outcomes

NameDescription
SuccessThis status is selected if the job has successfully completed.
UnsuccessfulThis status is selected if the job has completed unsuccessfully.

Requirements

  • N/A