DiffCov/.github/workflows/ct-release.yml
2022-10-24 19:57:12 +01:00

29 lines
739 B
YAML

name: Conventional Tools Release
on:
workflow_dispatch:
inputs:
version:
description: 'Version'
required: false
jobs:
release:
name: Release
runs-on: ubuntu-latest
container: registry.k1.zportal.co.uk/practically-oss/conventional-tools:1.x
env:
CT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Git
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- name: Release
run: conventional-tools release-semver ${{ github.event.inputs.version }}