action-tagger/action.yml

40 lines
1001 B
YAML
Raw Normal View History

2021-12-01 08:47:49 +00:00
name: 'Autotag'
author: 'phish108'
description: 'Autotag with Semantic Versioning and Issue integration'
branding:
icon: tag
color: blue
inputs:
github-token: # id of input
default: ${{ github.token }}
required: false
description: 'the GH token to connect to github from the action'
dry-run:
description: "check if the action would succeed"
required: false
default: "FALSE"
bump:
description: "which part of the semver needs to be updated?"
required: false
default: "patch"
branch:
description: "force to tag a specific branch"
required: false
default: ""
with-v:
description: "use version prefix"
required: false
default: "FALSE"
release-branch:
description: "provide the names from which branches to release"
required: false
default: "main,master"
outputs:
new-tag: # id of output
description: 'new tag'
tag: # id of output
description: 'latest tag'
runs:
using: 'node12'
main: 'dist/index.js'