Use the spam label when auto-closing PRs

This commit is contained in:
Adrian Chaves 2026-03-30 17:43:59 +02:00
parent 6cef717dad
commit 74c33e5172
1 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,12 @@ jobs:
console.log(`PR #${prNumber} already closed.`);
return;
}
await github.rest.issues.addLabels({
owner,
repo,
issue_number: prNumber,
labels: ['spam']
});
await github.rest.issues.createComment({
owner,
repo,