I am trying to write a gitlab ci job rule that does not run when only CHANGELOG.md
is committed into the default branch. However, if CHANGELOG.md
is updated along with other files in the commit, then run the job. Is this possible? Thank you!
The background for this is that I am using the backmerge plugin for semantic-release. If the commit being backmerged is only updating the CHANGELOG.md, then don’t run a pipeline. But if there are other files being backmerged, then do run the pipeline.
For gitlab ci rules, I am struggling to come up with something that does the task.