Gitlab CI - Except

Hi, I would like when I make changes only to files with extension (md) not to run gitlab ci jobs as there is no any meaning. Currently I have the following in my gitlab-ci.yml and I would like to know if is possible to combine this with the above request. Thank you

    except:
    - /^revert-.*/