fix: Github action cleanup (no-changelog) (#16964)

Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
shortstacked
2025-07-08 13:45:59 +01:00
committed by GitHub
parent 608dcdee4d
commit 9155ccc7e0
10 changed files with 30 additions and 19 deletions

View File

@@ -27,8 +27,10 @@ jobs:
steps:
- name: Check Version Format
id: check_version
env:
INPUT_VERSION: ${{ github.event.inputs.version }}
run: |
input_version="${{ github.event.inputs.version }}"
input_version="${{ env.INPUT_VERSION }}"
version_regex='^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9.-]+)?$'
if [[ "$input_version" =~ $version_regex ]]; then