mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
upd: added .ip2 network control for workflows. (#561)
* upd: added .ip2 network control for workflows. * fix: blank fixed. * fix: blank fixed. * fix: blank fixed. * upd: uptimerobot ip2 removed.
This commit is contained in:
parent
51ac0963fe
commit
5f43c9ca0e
1 changed files with 3 additions and 3 deletions
6
.github/workflows/add-instance-updown.yml
vendored
6
.github/workflows/add-instance-updown.yml
vendored
|
@ -31,10 +31,10 @@ jobs:
|
|||
var linkify = require("linkifyjs");
|
||||
var issueTitleParseUrl = linkify.find(issueInfo.title);
|
||||
if (issueTitleParseUrl.length !== 0) {
|
||||
if (issueInfo.title.includes(".onion")) {
|
||||
if (issueInfo.title.includes(".onion") || issueInfo.title.includes(".ip2")) {
|
||||
var replyComment =
|
||||
['Hello! I have detected that you are requesting to add an onion URL.',
|
||||
'Please create a pull request instead for adding your onion url as an alternative to your clearnet URL: https://github.com/iv-org/documentation/edit/master/docs/instances.md'
|
||||
['Hello! I have detected that you are requesting to add an onion or I2P URL.',
|
||||
'Please create a pull request instead for adding your onion or I2P url as an alternative to your clearnet URL: https://github.com/iv-org/documentation/edit/master/docs/instances.md'
|
||||
].join('\n');
|
||||
await github.rest.issues.createComment({
|
||||
issue_number: context.issue.number,
|
||||
|
|
Loading…
Reference in a new issue