Skip to main content
Create file in GitHub
Wrk Product avatar
Written by Wrk Product
Updated over 2 months ago

Create file in GitHub.

Application

  • GitHub

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Connected account

The connected account to use for the request

Connected Account

Yes

Repository owner

Text (Short)

Yes

Repository name

Text (Short)

Yes

File path

The file path of the file. Has to contain the full path

Text (Short)

Yes

File content

The text content of the file

Text (Long)

Yes

Commit message

Text (Long)

Yes

Author name

The name of the author of the commit

Text (Short)

No

Author email

The email of the author of the commit

Email

No

Branch name

The branch to commit to. If not set the repository’s default branch (usually master) is used.

Text (Short)

No

Committer name

The name of the user who committed

Text (Short)

No

Committer email

The email of the user who committed

Email

No

Outputs (what you get)

Name

Description

Data Type

Required?

Example

JSON Output

JSON output returned by the API

Text (Long)

No

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

Unsuccessful

This status is selected if the job has completed unsuccessfully.

Requirements

  • N/A

Did this answer your question?