Add regex to match branches we want to run on.

escape the forward slash

remove the slash altogether.

put slashes back

escape /

escape /'s properly.
This commit is contained in:
picklesrus 2020-09-25 06:51:59 -04:00
parent 79cffd366f
commit cb9c81fbf1

View file

@ -141,6 +141,6 @@ stages:
- name: test - name: test
if: type != cron if: type != cron
- name: smoke - name: smoke
if: type NOT IN (cron, pull_request) if: type NOT IN (cron, pull_request) AND (branch =~ /^(develop|master|release\/|hotfix\/)/)
- name: update translations - name: update translations
if: branch == develop AND type == cron if: branch == develop AND type == cron