Specifying a refspec on this scm config causes no merge job to be
triggered on a push action.
Change-Id: I6037e694c73fdfa2c6177eda4e83a6ad0895c3ae
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
scm:
- lf-infra-github-scm:
url: '{git-clone-url}{github-org}/{project}'
- refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
- branch: '{branch}'
+ refspec: ''
+ branch: 'refs/heads/{branch}'
submodule-recursive: '{submodule-recursive}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
--- /dev/null
+---
+fixes:
+ - |
+ Specify refspec to be blank for SCM config on github-maven-merge job. Setting the
+ refspec to `+refs/pull/*:refs/remotes/origin/pr/*` causes there to be no merge job triggered.