File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 push :
1212 branches :
1313 - ' release/*'
14+ # testing branch.
15+ # remove before merge
16+ - ' rc-builds-gh-workflow'
1417
1518jobs :
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
You can’t perform that action at this time.
0 commit comments