feat(input): use the config file from given path

This commit is contained in:
orhun
2021-06-18 03:00:25 +03:00
parent 920cd73efd
commit 9e859999aa
4 changed files with 35 additions and 3 deletions

View File

@@ -1,18 +1,22 @@
name: "git-cliff: Changelog Generator"
description: "Generate changelog based on your Git history"
inputs:
config:
description: "config file location"
required: false
default: "cliff.toml"
args:
description: "git-cliff arguments"
required: false
default: "-v"
outputs:
changelog:
description: 'generated changelog'
description: "generated changelog"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.args }}
- "-c ${{ inputs.config }} ${{ inputs.args }}"
branding:
icon: "triangle"
color: "orange"