-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yaml
22 lines (22 loc) · 858 Bytes
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Conventional Commits Versioner Action
description: Automatically tag a new version based on the commit messages of commits since the last tag.
inputs:
write-tag:
description: If true, and ccv determines that a new version is required, the action will automatically write the new version tag to the repository.
required: false
default: 'true'
outputs:
new-tag:
description: Either "true" or "false" depending on whether a new tag was pushed.
new-tag-version:
description: The new version that was tagged. This will only be set if new-tag=true.
new-tag-version-type:
description: Describes the semantic version type of the new tag. One of "major", "minor", or "patch". This will only be set if new-tag=true.
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.write-tag }}
branding:
icon: tag
color: blue