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
Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.
Get Certified! ✍️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.