Skip to content

Commit efdf270

Browse files
committed
Add debug log
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
1 parent 7dfa49d commit efdf270

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
- name: Validate branch
2222
id: branch
2323
run: |
24-
BRANCH="${GITHUB_REF_NAME}"
24+
BRANCH="${{ github.ref_name }}"
25+
26+
echo "Validating branch: ${BRANCH}"
2527
if [[ ! "$BRANCH" =~ ^release-([0-9]+)\.x$ ]]; then
2628
echo "::error::Must run on a release-X.x branch (e.g., release-1.x)"
2729
exit 1

0 commit comments

Comments
 (0)