3d9036e663
* Rename some references from master to main * Update changelog-checker
18 lines
507 B
YAML
18 lines
507 B
YAML
description: >
|
|
Check if branch name starts with ui/ or docs/ and if so, exit.
|
|
steps:
|
|
- run:
|
|
working_directory: ~/
|
|
name: Check branch name
|
|
command: |
|
|
case "$CIRCLE_BRANCH" in
|
|
main|ui/*|release/*|merge*) ;;
|
|
*) # If the branch being tested doesn't match one of the above patterns,
|
|
# we don't need to run test-ui and can abort the job.
|
|
circleci-agent step halt
|
|
;;
|
|
esac
|
|
|
|
# exit with success either way
|
|
exit 0
|