-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathcreate_file.yaml
More file actions
47 lines (47 loc) · 1.37 KB
/
create_file.yaml
File metadata and controls
47 lines (47 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
name: create_file
runner_type: python-script
description: Create a file in this repository.
enabled: true
entry_point: create_file.py
parameters:
user:
type: "string"
description: "User / organization name."
required: true
repo:
type: "string"
description: "Repository name."
required: true
path:
type: "string"
description: "Path of the file in the repository."
required: true
message:
type: "string"
description: "Commit message."
required: true
content:
type: "string"
description: "The actual data in the file."
required: true
encoding:
type: "string"
description: "Specify if the input content is encoded."
enum:
- "none"
- "base64"
default: "none"
required: false
branch:
type: "string"
description: "Branch to create the commit on. Defaults to the default branch of the repository"
required: false
committer:
type: "string"
description: "If no information is given the authenticated user's information will be used. You must specify both a name and email. Expected format: FirstName LastName <email@address>"
required: false
author:
type: "string"
description: "If omitted this will be filled in with committer information. If passed, you must specify both a name and email. Expected format: FirstName LastName <email@address>"
required: false