Skip to content

Commit 265fcc1

Browse files
committed
[antispam] experimenting (WIP)
1 parent 548bec6 commit 265fcc1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/antispam.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
with:
1919
script: |
2020
const script = require('.github/workflows/scripts/antispam.js')
21-
await script({github, context, core})
21+
await script({ github, context })

.github/workflows/scripts/antispam.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,13 @@ module.exports = async ({ github, context }) => {
272272
await Promise.all(
273273
Testing.cases.spams.map((url) => Testing.getContext({ url, github }))
274274
).then(async (testing_contexts) => {
275-
await run({ github, context, core })
275+
await run({ github, context })
276276
});
277277

278278
return;
279279
}
280280

281-
return await run({ github, context, core });
281+
return await run({ github, context });
282282
};
283283

284284
/*

0 commit comments

Comments
 (0)