Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

fix: harden reusable release tag validation

Affaan Mustafa43ac81f1ac73
diff --git a/.github/workflows/reusable-release.yml b/.github/workflows/reusable-release.yml
index 8566c92e0..2a7b5786b 100644
--- a/.github/workflows/reusable-release.yml
+++ b/.github/workflows/reusable-release.yml
@@ -28,8 +28,10 @@ jobs:
fetch-depth: 0
- name: Validate version tag
+ env:
+ INPUT_TAG: ${{ inputs.tag }}
run: |
- if ! [[ "${{ inputs.tag }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
+ if ! [[ "$INPUT_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Invalid version tag format. Expected vX.Y.Z"
exit 1
fi