From 194d9bb2a2d3e7a6855b3546a858352a7c8e864f Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Thu, 4 Aug 2022 06:01:38 +0000 Subject: [PATCH] no action for ciro --- README.adoc | 10 ++++++++-- action.js | 21 +++++++++++---------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/README.adoc b/README.adoc index 61adb20a3..b463d3b10 100644 --- a/README.adoc +++ b/README.adoc @@ -15551,11 +15551,17 @@ The seven top people of the party as of 2020, ranked in a specific order. In 2018 they had the 13th congress. 2980 were elected for the next 5 years for it, and then in theory they vote to choose the <>. -ttps://www.rfi.fr/cn/中国/20130315-1票反对习近平做国家主席网民竞猜是谁 +https://www.rfi.fr/cn/中国/20130315-1票反对习近平做国家主席网民竞猜是谁 + +The Chinese is: + +* 赞成 : for +* 反对 : against +* 弃权 : abstain [[xi-jinping-2970]] .Montage of the vote display board during the 12th (2013), 13th (2018) and 14th (2023) <> showing how <> was elected with. 2013: 2955 for, 1 against, 3 abstentions. 2018: 2970 votes for, 0 abstentions and 0 votes against. 2023: 2952 votes for, 0 abstantions, 0 against. These elections can't possibly be rigged, the Chinese people are in perfect harmony! The 2018 image image was used as the "democracy" image in the <>. Sources: https://www.rfi.fr/cn/中国/20130315-1票反对习近平做国家主席网民竞猜是谁[2013], http://m.cyol.com/content/2018-03/21/content_17039285.htm[2018], https://www.telegraph.co.uk/world-news/2023/03/10/vladimir-putin-congratulates-dear-friend-xi-jinping-winning/[2023]. -image::{china-dictatorship-media-base}/Xi_Jinping_elected_2970_for_0_against_in_2018.jpg[height=600] +image::{china-dictatorship-media-base}/Xi_Jinping_elected_2970_for_0_against_in_2018.jpg[height=1200] [[president-of-the-people-s-republic-of-china]] ====== President of the People's Republic of China (中华人民共和国主席) diff --git a/action.js b/action.js index 6f3202a87..e4fbeff17 100755 --- a/action.js +++ b/action.js @@ -62,7 +62,7 @@ if (isComment) { const quoteArray = []; const noQuoteArray = []; for (const line of titleAndBody.split('\n')) { - // Remove some speical chars to remove at mention spam possibilities. + // Remove some special chars to remove at mention spam possibilities. const l = line.replace(/[@#]/g, "") quoteArray.push('> ' + l); noQuoteArray.push(l); @@ -188,15 +188,16 @@ try { //}) } else { // Update labels. - console.log('before octokit.rest.issues.update') - await octokit.rest.issues.update({ - owner: payload.repository.owner.login, - repo: payload.repository.name, - issue_number: payload.issue.number, - labels: Array.from([...labels, ...newLabels]) - }) - console.log('after octokit.rest.issues.update') - html_url = payload.issue.html_url + if (author !== 'cirosantilli') { + console.log('before octokit.rest.issues.update') + await octokit.rest.issues.update({ + owner: payload.repository.owner.login, + repo: payload.repository.name, + issue_number: payload.issue.number, + labels: Array.from([...labels, ...newLabels]) + }) + console.log('after octokit.rest.issues.update') + } } // Get the latest news from duty-machine. // Can't do fetches anymore they were DMCA'ed.