From 5f43c9ca0e103d9b26c76eae00d8a0c21fd171f0 Mon Sep 17 00:00:00 2001 From: Ramazan Sancar Date: Mon, 10 Jun 2024 09:43:04 +0300 Subject: [PATCH] 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. --- .github/workflows/add-instance-updown.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/add-instance-updown.yml b/.github/workflows/add-instance-updown.yml index 95f59db..86f7b9b 100644 --- a/.github/workflows/add-instance-updown.yml +++ b/.github/workflows/add-instance-updown.yml @@ -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,