Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×Hello Friends,
I need to write a groovy script that will validate a path during pullrequest/merge that certain files has been modified, if yes it should reject the merge.
example:
Lets say, "properties" directory has got list of file, file-a, file-b, file-c and file-d. And if any one of this file got modified, merge should be allowed, if more than one file is modified it should reject the merge.
Could you please advise ?
Thanks in Advance
Dinesh