I'm working on a pipeline, which watches a git repo and trigger some job when there's a commit. But the repo has too many commits, and I just want the merge commit trigger update, and all other commits should be ignored. The concourse git resourse seems doesn't provide this function. https://github.com/concourse/git-resource
Asked
Active
Viewed 794 times
1 Answers
0
That's right, it doesn't. It wouldn't be impossible to implement, though; you could simply modify the git-resource to loop through all the commits since the commit the previous check script found and if there are any that have two parents, trigger on that. Pull requests are always welcome!

Josh Ghiloni
- 1,260
- 8
- 19