Skip to content

Commit 16a8b5e

Browse files
committed
[antispam] experimenting (WIP)
1 parent 6e4e640 commit 16a8b5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/scripts/antispam.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ module.exports = async ({ github, context, core }) => {
5959
const username = context.actor;
6060
const { data: user } = await github.rest.users.getByUsername({ username: username });
6161

62+
console.log(">>> DEBUG:", user)
63+
6264
const isAuthorOnlyContributionOnGH = await (async () => {
6365
// WARNING: Depending on the time of day, event latency can be anywhere from 30s to 6h. (source: https://octokit.github.io/rest.js/v21/)
6466
const { data: events } = await github.rest.activity.listEventsForAuthenticatedUser({

0 commit comments

Comments
 (0)