forked from posener/goreadme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
122 lines (121 loc) · 3.65 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File generated by github.com/posener/goaction. DO NOT EDIT.
name: goreadme
description: Updates readme from Go doc
inputs:
readme-file:
default: README.md
description: "Name of readme file."
required: false
debug:
description: "Print Goreadme debug output. Set to any non empty value for true."
required: false
email:
default: [email protected]
description: "Email for commit message."
required: false
github-token:
description: "Github token for PR comments. Optional."
required: false
README_FILE:
description: "An optional alias which can be used instead of 'readme-file'."
required: false
GITHUB_TOKEN:
description: "An optional alias which can be used instead of 'github-token'."
required: false
import-path:
description: "Override package import path."
required: false
title:
description: "Override readme title. Default is package name."
required: false
recursive:
default: false
description: "Load docs recursively."
required: false
constants:
default: false
description: "Write package constants section, and if 'types' is specified, also write per-type constants section."
required: false
variabless:
default: false
description: "Write package variables section, and if 'types' is specified, also write per-type variables section."
required: false
functions:
default: false
description: "Write functions section."
required: false
types:
default: false
description: "Write types section."
required: false
factories:
default: false
description: "If 'types' is specified, write section for functions returning each type."
required: false
methods:
default: false
description: "If 'types' is specified, write section for methods for each type."
required: false
skip-examples:
default: false
description: "Skip the examples section."
required: false
skip-sub-packages:
default: false
description: "Skip the sub packages section."
required: false
badge-travisci:
default: false
description: "Show TravisCI badge."
required: false
badge-codecov:
default: false
description: "Show CodeCov badge."
required: false
badge-golangci:
default: false
description: "Show GolangCI badge."
required: false
badge-godoc:
default: false
description: "Show GoDoc badge."
required: false
badge-goreportcard:
default: false
description: "Show GoReportCard badge."
required: false
credit:
default: true
description: "Add credit line."
required: false
runs:
using: docker
image: Dockerfile
env:
readme-file: "${{ inputs.readme-file }}"
debug: "${{ inputs.debug }}"
email: "${{ inputs.email }}"
github-token: "${{ inputs.github-token }}"
README_FILE: "${{ inputs.README_FILE }}"
GITHUB_TOKEN: "${{ inputs.GITHUB_TOKEN }}"
args:
- "-import-path=${{ inputs.import-path }}"
- "-title=${{ inputs.title }}"
- "-recursive=${{ inputs.recursive }}"
- "-constants=${{ inputs.constants }}"
- "-variabless=${{ inputs.variabless }}"
- "-functions=${{ inputs.functions }}"
- "-types=${{ inputs.types }}"
- "-factories=${{ inputs.factories }}"
- "-methods=${{ inputs.methods }}"
- "-skip-examples=${{ inputs.skip-examples }}"
- "-skip-sub-packages=${{ inputs.skip-sub-packages }}"
- "-badge-travisci=${{ inputs.badge-travisci }}"
- "-badge-codecov=${{ inputs.badge-codecov }}"
- "-badge-golangci=${{ inputs.badge-golangci }}"
- "-badge-godoc=${{ inputs.badge-godoc }}"
- "-badge-goreportcard=${{ inputs.badge-goreportcard }}"
- "-credit=${{ inputs.credit }}"
branding:
icon: book-open
color: blue