Skip to content

chore(workflows): restrict release to SemVer tags #17

chore(workflows): restrict release to SemVer tags

chore(workflows): restrict release to SemVer tags #17

Workflow file for this run

name: Release and Dispatch
run-name: Release ${{ github.ref_name }} by @${{ github.actor }}
on:
push:
tags:
- '*.*.*'
- '!*alpha*'
- '!*beta*'
- '!*+*'
permissions:
contents: write
actions: write
jobs:
release:
if: >
startsWith(github.ref, 'refs/tags/') &&
!contains(github.ref_name, 'alpha') &&
!contains(github.ref_name, 'beta') &&
!contains(github.ref_name, '+')
uses: ianhubnet/.github/.github/workflows/package.yml@main
with:
name: ${{ vars.CSK_NAME }}
type: ${{ vars.CSK_TYPE }}
secrets: inherit