-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
staticman.yml
37 lines (29 loc) · 1.27 KB
/
staticman.yml
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
workshop-submission:
allowedFields: ["country", "online", "startdate", "enddate", "lesson_title", "lesson_slug", "website"]
# (*) REQUIRED
#
# Name of the branch being used. Must match the one sent in the URL of the
# request.
branch: "main"
# Text to use as the commit message or pull request title. Accepts placeholders.
commitMessage: "Add workshop data"
# (*) REQUIRED
#
# Destination path (filename) for the data files. Accepts placeholders.
filename: "{fields.startdate}-{fields.lesson_slug}"
# The format of the generated data files. Accepted values are "json", "yaml"
# or "frontmatter"
format: "yml"
# Whether entries need to be appproved before they are published to the main
# branch. If set to `true`, a pull request will be created for your approval.
# Otherwise, entries will be published to the main branch automatically.
moderation: true
# Name of the site. Used in notification emails.
name: "carpentries-incubator.org"
# (*) REQUIRED
#
# Destination path (directory) for the data files. Accepts placeholders.
path: "_data/workshops/"
# Names of required fields. If any of these isn't in the request or is empty,
# an error will be thrown.
requiredFields: ["country", "startdate", "lesson_title", "lesson_slug", "website"]