mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
Don't close the issue for a title issue
This commit is contained in:
parent
bfe4c4edfe
commit
ed63ab464d
1 changed files with 2 additions and 8 deletions
10
.github/workflows/add-instance-uptimerobot.yml
vendored
10
.github/workflows/add-instance-uptimerobot.yml
vendored
|
@ -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'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue