bot-prevention.yml: do not reveal to the bot why their PR was closed (#23599)

This commit is contained in:
Managor
2026-08-16 15:39:41 +02:00
committed by GitHub
parent 762bbb6562
commit 1373ac0ec4
+1 -1
View File
@@ -43,7 +43,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
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({
owner: context.repo.owner,