mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
bot-prevention.yml: do not reveal to the bot why their PR was closed (#23599)
This commit is contained in:
@@ -43,7 +43,7 @@ jobs:
|
|||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
issue_number: context.payload.pull_request.number,
|
issue_number: context.payload.pull_request.number,
|
||||||
body: `This PR was automatically closed because the description is missing PR template text.`
|
body: `This PR was automatically closed due to suspected bot activity.`
|
||||||
});
|
});
|
||||||
await github.rest.pulls.update({
|
await github.rest.pulls.update({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
|
|||||||
Reference in New Issue
Block a user