File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1515 steps :
1616 - name : Check branch name
1717 run : |
18- if [[ "${{ github.ref }}" == "refs/heads/main" ]] || [[ "${{ github.ref }}" =~ ^refs/heads/feature/.*$ ]] || [[ "${{ github.ref }}" =~ ^refs/heads/release/v.*$ ]] || [[ "${{ github.ref }}" =~ ^refs/heads/bug/.*$ ]] ; then
18+ if [[ "${{ github.ref }}" == "refs/heads/main" ]] || \
19+ [[ "${{ github.ref }}" =~ ^refs/heads/feature/.*$ ]] || \
20+ [[ "${{ github.ref }}" =~ ^refs/heads/release/v.*$ ]] || \
21+ [[ "${{ github.ref }}" =~ ^refs/heads/bug/.*$ ]] || \
22+ [[ "${{ github.ref }}" == "refs/heads/renovate/all-dependencies" ]] ; then
1923 echo "Branch naming is correct!"
2024 else
2125 echo "Invalid branch name! Correct format: 'feature/<branch-name>' or 'bug/<branch-name>' or release/vx.x.x"
You can’t perform that action at this time.
0 commit comments