generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
56 lines (56 loc) · 1.92 KB
/
action.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: "Zenn Metadata Updater"
description: "Update Zenn article metadata and create a pull request."
branding:
icon: refresh-cw
color: blue
author: "Futa Hirakoba <korosuke613613@gmail.com>"
inputs:
github-token:
required: false
description: "A GITHUB_TOKEN."
default: ${{ github.token }}
commit-sha:
required: false
description: "Git commit SHA"
dry-run: # change this
required: false
description: "A boolean, if true, no push or pull request will be created. (default: false)"
default: "false"
title:
required: false
description: "A title of Zenn article."
emoji:
required: false
description: "An emoji of Zenn article."
type:
required: false
description: "A type of Zenn article."
topics:
required: false
description: "A list of topic of Zenn article."
published:
required: false
description: "A boolean of published of Zenn article. (default: true)"
default: "true"
published-at:
required: false
description: "A date of published of Zenn article. Don't use auto-generate-published-at option if this option is set. (default: undefined)"
auto-generate-published-at:
required: false
description: "next_business_day_<HH> (ex: next_business_hour_09), next_day_<HH> or undefined. Don't use published-at option if this option is set. Also, if `published_at` is already set in the markdown, nothing is done. (default: undefined)"
force-push:
required: false
description: "A boolean, if true, override the push to the existing branch. (default: true)"
default: "true"
validate:
required: false
description: "A boolean, if true, validation of metadata is performed. (default: false)"
default: "false"
validate-only:
required: false
description: "A boolean, if true, only validation of metadata is performed. (default: false)"
default: "false"
runs:
using: "node20"
pre: "dist/pre.js"
main: "dist/index.js"