Browse Source

quick issue_comment trial

pull/396/head
Ciro Santilli 11 months ago
parent
commit
ae6d92f4f8
  1. 2
      .github/workflows/issue.yml
  2. 2
      README.adoc
  3. 2
      action.js

2
.github/workflows/issue.yml

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

2
README.adoc

@ -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 '美团点评各业务线提供'

2
action.js

@ -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)}

Loading…
Cancel
Save