Files
git-cliff-action/action.yml
Nicolas Hedger b7913b6646 feat(action): add output for the latest version (#12)
* feat: output `version` of the latest release

* update readme
2023-11-12 23:16:39 +01:00

28 lines
618 B
YAML

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: "output file"
content:
description: "content of the changelog"
version:
description: "version of the latest release"
runs:
using: "docker"
image: "Dockerfile"
args:
- --config=${{ inputs.config }}
- ${{ inputs.args }}
branding:
icon: "triangle"
color: "green"