Closed david-nano closed 6 months ago
https://github.com/firecow/gitlab-ci-local/issues/932#issuecomment-1653301250 Introducing of re2 might fix this issue.
currently, we do not support (?i)
while waiting for the fix,
instead of:
if: $CI_COMMIT_MESSAGE =~ /^(?i)(BREAKING CHANGES|(feat|fix)(\([\w\-]+\))?!?):/
use:
if: $CI_COMMIT_MESSAGE =~ /^(BREAKING CHANGES|(feat|fix)(\([\w\-]+\))?!?):/i
with this, you should be able to continue using gitlab-ci-local
while still having the case insensitive match
We have an issue on supporting re2 regex https://github.com/firecow/gitlab-ci-local/issues/932
Minimal .gitlab-ci.yml illustrating the issue The rule I have in my job is: (before changes)
Changed it to:
Expected behavior Keep running local CI as before.
Current behavior Got this error:
Host information Ubuntu 22.04 gitlab-ci-local 4.47.0
Containerd binary Docker
Additional context I just want to ignore the case for "Fix" or "fix" when the user is committing to my job using this rule.