Governance: Bug Fixed on auto merging from other branches different to develop 2

This commit is contained in:
Luis Fernando Molina committed 2021-08-07 18:50:22 +02:00
1 parent 256a412b7c
commit 6774e7b359
1 file changed
+3
+3
View File
@@ -1363,6 +1363,9 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
let fileContentUrl = pullRequestFile.raw_url
if (fileContentUrl.indexOf('Governance/Plugins/User-Profiles') < 0) {
/*
If it is not a user profile then there is no need to auto merge.
*/
console.log('[INFO] httpInterface -> Gov -> mergeGithubPullRequests -> Validation #2 Failed -> Pull Request "' + pullRequest.title + '" not merged because the file modified at the Pull Request is not a User Profile file. -> fileContentUrl = ' + fileContentUrl)
continue
}