Skip to content

Conventional commit parser

Actions
Conventional commit parser
v1.0.1
Latest
Star (1)

Tags

 (1)

Conventional commit parser

Inputs

Field Description Required Default
token Github token
major Labels for major version '[]'
minor Labels for minor version '["feat"]'
patch Labels for patch version '[]'

Outputs

Field Description
label Parsed commit label
type Commit type (major/minor/patch)

Example usage

- name: Parse commit
  uses: iam-medvedev/action-conventional-commit@v1
  id: get-label
  with:
    token: ${{ secrets.GITHUB_TOKEN }}

- name: Get latest version
  uses: actions-ecosystem/action-get-latest-tag@v1
  id: get-latest-tag
  with:
    semver_only: true
    with_initial_version: true
    initial_version: v1.0.0

- name: Update version
  uses: actions-ecosystem/action-bump-semver@v1
  id: bump-semver
  with:
    current_version: ${{ steps.get-latest-tag.outputs.tag }}
    label: ${{ steps.get-label.outputs.type }}

Conventional commit parser is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Conventional commit parser
v1.0.1
Latest

Tags

 (1)

Conventional commit parser is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.