在合并请求上运行gitlab-ci.yml /没有任何反应

时间:2020-01-19 12:53:07

标签: gitlab gitlab-ci

我有一个gitlab.ci.yml来检查json文件:

test:
    stage: test
    image: darrylb/jsonlint
    script:
      - for jsonfile in json/*.json; do jsonlint "$jsonfile"; done;
    only:
        changes:
            - json/*
    only:
        - merge_requests

我想在对我的master分支的每个合并请求上自动运行它。 但是,当我创建合并请求时,没有任何反应,没有启动任何管道。 我想念什么?

0 个答案:

没有答案