Hi
I have succesfully setup the cicd, but it runs on every git commit. Can i change it to : If commit message has specific words then it runs, otherwise not run?
thanks
Peter
Yes you can!
Using the rules:
section in gitlab CI. You could create a rule based on a pre-defined variable such as $CI_COMMIT_MESSAGE
.
Read more about variable matching in rules here.
You may also want to look at workflows
.
1 Like