Skip to content

Commit

Permalink
chore: update title and body (#16666)
Browse files Browse the repository at this point in the history
* chore: update title and body

* chore:reinstate api calls
  • Loading branch information
russellwheatley authored Nov 14, 2024
1 parent d69172c commit 9c58953
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/spam-removal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const spamWords = [
'moonpay',
'coinmama',
['wallet', 'support'],
['contact', 'support', 'number'],
];

async function closeSpamIssues() {
Expand Down Expand Up @@ -51,6 +52,8 @@ async function closeSpamIssues() {
repo: context.repo.repo,
issue_number: issue.number,
state: 'closed',
title: 'Spam',
body: 'This issue was filtered as spam.',
});

await octokit.rest.issues.addLabels({
Expand Down

0 comments on commit 9c58953

Please sign in to comment.