-
Notifications
You must be signed in to change notification settings - Fork 10
/
action.yml
42 lines (41 loc) · 1.26 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
# Code generated by github.com/posener/goaction. DO NOT EDIT.
name: posener/goaction
description: "Creates action files for Go code"
inputs:
path:
description: "Path to main Go file, this file should contain all defined flags and environment variables."
required: true
name:
description: "Override action name, the default name is the package name."
required: false
desc:
description: "Override action description, the default description is the package synopsis."
required: false
icon:
description: "Set branding icon. Choose from https://feathericons.com."
required: false
color:
description: "Set branding color. Can be one of: white, yellow, blue, green, orange, red, purple or gray-dark"
required: false
email:
default: posener@gmail.com
description: "Email for commit message"
required: false
github-token:
description: "Github token for PR comments. Optional."
required: false
runs:
using: docker
image: Dockerfile
env:
email: "${{ inputs.email }}"
github-token: "${{ inputs.github-token }}"
args:
- "-path=${{ inputs.path }}"
- "-name=${{ inputs.name }}"
- "-desc=${{ inputs.desc }}"
- "-icon=${{ inputs.icon }}"
- "-color=${{ inputs.color }}"
branding:
icon: activity
color: blue