From ed63ab464d6701938db5202dae4ef558a3631e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milien=20Devos=20=28perso=29?= Date: Fri, 19 May 2023 22:13:26 +0000 Subject: [PATCH] Don't close the issue for a title issue --- .github/workflows/add-instance-uptimerobot.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/add-instance-uptimerobot.yml b/.github/workflows/add-instance-uptimerobot.yml index 38aef62..9ce59f7 100644 --- a/.github/workflows/add-instance-uptimerobot.yml +++ b/.github/workflows/add-instance-uptimerobot.yml @@ -93,7 +93,7 @@ jobs: } else { var replyComment = - ['Domain not detected in the title, please edit the title by correcting it like this and reopen the issue:', + ['Domain not detected in the title, please edit the title by correcting it like this:', 'Issue title example: `[New instance] https://myinstance.com`' ].join('\n'); @@ -103,10 +103,4 @@ jobs: repo: context.repo.repo, body: replyComment }) - await github.rest.issues.update({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - state: 'closed' - }) - } \ No newline at end of file + }