DiffCov/.github/workflows/ct-release.yml
2024-01-23 09:11:09 +00:00

32 lines
874 B
YAML

name: Conventional Tools Release
on:
workflow_dispatch:
inputs:
version:
description: 'Version'
required: false
jobs:
release:
name: Release
runs-on: ubuntu-latest
container: practically/conventional-tools:1.x@sha256:647d6e4b3edfcbac6054b90f74d2c61a022152751b94484d54e13695a9e27377
env:
CT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Git safe.directory
run: git config --global --add safe.directory $PWD
- 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 }}