Skip to content

Create/Update File Node

Data/GitHub

Create/Update File

Create or update a file in a repository

data_github_create_or_update_filedata
Inputs14
Outputs4
Security exposure4/10
Packagedata

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
4/10Medium
PrivacyPotential sensitivity of processed data.
5/10Medium
PerformanceRuntime or resource pressure.
2/10High
GovernancePolicy, audit, or compliance impact.
5/10Medium
ReliabilityOperational stability considerations.
2/10High
CostExternal or compute cost impact.
2/10High

Input Pins

14

Input

Execution
exec_in

Trigger

Provider

Struct
provider

GitHub provider

GitHubProviderGitHubProvider3 fields
provider_idstringrequired
access_tokenstringrequired
base_urlstringrequired
Schema enforced

Owner

String
owner

Repository owner

Repository

String
repo

Repository name

Path

String
path

Path to file in the repository

Source File

Struct
source_file

FlowPath file to upload. When connected, this is used instead of Content

FlowPathFlowPath3 fields
pathstringrequired
store_refstringrequired
cache_store_refstring | null
Schema enforced

Content

String
content

Text content used when Source File is not connected

Commit Message

String
message

Commit message

SHA

String
sha

SHA of the file being replaced (required for updates, get from 'Get File Contents')

Branch

String
branch

Branch to commit to (default: default branch)

Committer Name

String
committer_name

Name of the committer (default: authenticated user)

Committer Email

String
committer_email

Email of the committer (default: authenticated user's email)

Author Name

String
author_name

Name of the author (default: authenticated user)

Author Email

String
author_email

Email of the author (default: authenticated user's email)

Output Pins

4

Success

Execution
exec_out

Triggered on success

Error

Execution
error

Triggered on error

Commit SHA

String
commit_sha

SHA of the commit

File SHA

String
file_sha

New SHA of the file

Node Info

Internal name
data_github_create_or_update_file
Category
Data/GitHub
Version
1