1

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?

krishna
  • 41
  • 5

1 Answers1

1

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

Vivek Kodira
  • 2,764
  • 4
  • 31
  • 49
krishna
  • 41
  • 5