From b6e720966698b2a4694f1591b45a039a1afed8ac Mon Sep 17 00:00:00 2001 From: Josh Wolf <josh@joshwolf.dev> Date: Thu, 21 Jan 2021 09:19:44 -0700 Subject: [PATCH] ci: widen regex for skipping ci on docs branches --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29cdb054ea..5a27ce0460 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ workflow: # run pipeline on commits to default branch - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # skip pipeline for branches that start with "docs" - - if: '$CI_COMMIT_REF_NAME =~ /^docs/' + - if: '$CI_COMMIT_REF_NAME =~ /^doc*/i' when: never # include templates -- GitLab