Skip to content

Commit 25df9da

Browse files
committed
enable testing branch trigger
1 parent 852d55f commit 25df9da

1 file changed

Lines changed: 15 additions & 9 deletions

File tree

.github/workflows/build-rc-auto.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
push:
1212
branches:
1313
- 'release/*'
14+
# testing branch.
15+
# remove before merge
16+
- 'rc-builds-gh-workflow'
1417

1518
jobs:
1619
validate-and-check-label:
@@ -28,16 +31,19 @@ jobs:
2831
BRANCH_NAME="${{ github.ref_name }}"
2932
echo "Checking branch: $BRANCH_NAME"
3033
34+
# bypass branch validation
35+
# remove before merge
36+
echo "semver=7.99.999" >> "$GITHUB_OUTPUT"
3137
# Validate branch matches release/x.y.z format (semantic versioning)
32-
if [[ "$BRANCH_NAME" =~ ^release/[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
33-
VERSION="${BRANCH_NAME#release/}"
34-
echo "Valid release branch detected: $BRANCH_NAME (version: $VERSION)"
35-
echo "semver=$VERSION" >> "$GITHUB_OUTPUT"
36-
else
37-
echo "Branch '$BRANCH_NAME' does not match release/x.y.z pattern. Skipping."
38-
echo "semver=" >> "$GITHUB_OUTPUT"
39-
exit 1
40-
fi
38+
# if [[ "$BRANCH_NAME" =~ ^release/[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
39+
# VERSION="${BRANCH_NAME#release/}"
40+
# echo "Valid release branch detected: $BRANCH_NAME (version: $VERSION)"
41+
# echo "semver=$VERSION" >> "$GITHUB_OUTPUT"
42+
# else
43+
# echo "Branch '$BRANCH_NAME' does not match release/x.y.z pattern. Skipping."
44+
# echo "semver=" >> "$GITHUB_OUTPUT"
45+
# exit 1
46+
# fi
4147
4248
- name: Find PR and check for auto-rc-builds label
4349
id: check-label

0 commit comments

Comments
 (0)