このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Create or update a file in the specified GitHub repository.

Inputs

フィールド

種類

説明

repository [required]

string

The github repository, formatted as {owner}/{repo}, in which to perform the changes. Note: the format organization/repo.git is not supported.

baseBranch

string

The base branch of pull request. If not specified, we use the default branch (ex. main). If a new branch is created, it is created off of this branch.

branchWithChanges

string

Branch to create and put this commit on. If the branch already exists, changes will be force pushed. Defaults to datadog-workflow-{{ InstanceId }}

default: datadog-workflow-{{ InstanceId }}

path [required]

string

The path to the file to be created or updated.

content [required]

string

The new contents of the file.

createPr

boolean

If true, a pull request will be open with your changes. Defaults to true.

default: true

prTitle

string

The title of the pull request to create.

default: [Datadog Workflows] Changes from {{ WorkflowName }}

prDescription

string

The description for the pull request to create.

Outputs

フィールド

種類

説明

data [required]

author [required]

string

title [required]

string