Skip to content

Tag and Release

Tag and Release #30

Workflow file for this run

name: Release
on:
workflow_run:
workflows:
- "continuous-integration"
branches:
- main
types:
- completed
jobs:
release:
name: Create new release tag
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
with:
fetch-depth: 0
- name: Bump version and push tag
id: version_bump
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BRANCH: main
DEFAULT_BUMP: patch
WITH_V: true