Don't close the issue for a title issue

This commit is contained in:
Émilien Devos (perso) 2023-05-19 22:13:26 +00:00 committed by GitHub
parent bfe4c4edfe
commit ed63ab464d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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