Merge pull request #1826 from Luis-Fernando-Molina/develop

Contribution: Governance Signing Account Test 10
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-09-21 15:06:34 -04:00
commit c8fab584f0
2 files changed
+3 -4

No files matched your search

+1 -2
View File
@@ -592,7 +592,6 @@ exports.newGithubServer = function newGithubServer() {
let signingAccount = userProfile.signingAccounts.signingAccounts[i]
let config = JSON.parse(signingAccount.config)
let messageSigned = config.signature.message
console.log(signingAccount.name, messageSigned, config.signature.message)
if (messageSigned !== githubUsername) {
console.log('[INFO] Github Server -> mergeGithubPullRequests -> Validation #8 Failed -> Pull Request "' + pullRequest.title + '" not merged because the Signing Account ' + signingAccount.name + ' has not signed the current Github User Account, but something else. -> messageSigned = ' + messageSigned + '-> githubUsername = ' + githubUsername)
@@ -602,7 +601,7 @@ exports.newGithubServer = function newGithubServer() {
owner: owner,
repo: repo,
issue_number: pullRequest.number,
body: 'This Pull Request could not be automatically merged and was closed by the Superalgos Governance System because the Signing Account ' + signingAccount.name + ' has not signed the current Github User Account, but something else. \n\n messageSigned = ' + messageSigned + '" \n\n githubUsername = ' + githubUsername + '"'
body: 'This Pull Request could not be automatically merged and was closed by the Superalgos Governance System because the Signing Account "' + signingAccount.name + '" has not signed the current Github User Account, but something else. \n\n messageSigned = "' + messageSigned + '" \n\n githubUsername = "' + githubUsername + '"'
});
await PL.projects.foundations.utilities.asyncFunctions.sleep(GITHUB_API_WAITING_TIME)
@@ -13383,11 +13383,11 @@
"savedPayload": {
"position": {
"x": 9901,
"y": 24261
"y": 24265
},
"targetPosition": {
"x": 9901,
"y": 24261
"y": 24265
},
"floatingObject": {
"isPinned": false,