-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
30 lines (30 loc) · 902 Bytes
/
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
name: 'Go Releasr'
description: 'Github Action that allows you to commit local changes & tag Go repositories'
inputs:
version_metadata_path:
description: 'Path to file containing Version string'
required: true
default: 'pkg/version/version.go'
author_name:
description: 'Commit Author'
required: true
default: 'packagrio-bot'
author_email:
description: 'Commit Author Email'
required: true
default: 'packagr-io[bot]@users.noreply.github.com'
cwd:
description: 'Working Directory'
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
env:
PACKAGR_VERSION_METADATA_PATH: ${{ inputs.version_metadata_path }}
PACKAGR_ENGINE_GIT_AUTHOR_NAME: ${{ inputs.author_name }}
PACKAGR_ENGINE_GIT_AUTHOR_EMAIL: ${{ inputs.author_email }}
CUSTOM_WORKING_DIRECTORY: ${{ inputs.cwd }}
branding:
icon: 'tag'
color: 'blue'