quick issue_comment trial

This commit is contained in:
Ciro Santilli
2021-06-30 08:30:25 +01:00
parent e4dee73cfc
commit ae6d92f4f8
3 changed files with 5 additions and 1 deletions

View File

@@ -2,6 +2,8 @@ name: Issue
on:
issues:
types: [opened]
issue_comment:
types: [created]
jobs:
Issue:
runs-on: ubuntu-20.04

View File

@@ -352,6 +352,7 @@ Another source of China-specific mirroring are GitHub proxies, https://linuxpip.
* https://a1.mk-proxy.ml/-----https://github.com/cirosantilli/china-dictatorship generated from http://toolwa.com/github/
* https://github.com/521xueweihan/GitHub520
* https://github.independentlyreview.com/cirosantilli/china-dictatorship described at https://independentlyreview.com/link as using https://workers.cloudflare.com/[Cloudflare workers]
* https://github-dotcom.gateway.web.tr/cirosantilli/china-dictatorship a Turkish proxy. They have their own censorship issues as well of course.
Create tags,and update all mirrors in one go with: link:push-mirrors[]:
@@ -590,6 +591,7 @@ Further optimizations:
+
....
#!/usr/bin/env bash
printf '易支付'
printf '英语台词'
printf '文字匹配'
printf '美团点评各业务线提供'

View File

@@ -53,7 +53,7 @@ for (const line of titleAndBody.split('\n')) {
// Remove some speical chars to remove at mention spam possibilities.
quoteArray.push('> ' + line.replace(/[@#]/g, ""));
}
const replyBody = `Hi ${github.context.payload.issue.user.login},
const replyBody = `Hi ${payload.issue.user.login},
${quoteArray.join('\n').substring(0,40000)}