How to disable running builds on commit for a gitrepo resource

32 views Asked by At

I have a git repo resource, but I don't want to trigger run on every commit into this repository. is there anyway I can achieve this?

1

There are 1 answers

0
krishna On

We should disable buildOn Commit here. for example,

- name: my_app_repo
  type: GitRepo
  configuration:
    gitProvider: my_github
    path: myuser/repo-name
    branches:
      include: master
    buildOn:
      commit: false

Reference