Skip to content

Commit 67739e4

Browse files
[ci] build
1 parent 05b92f6 commit 67739e4

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

dist/detect-agent.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { t as setOutput } from "./utils-DQae65qb.mjs";
2-
//#region node_modules/.pnpm/voight-kampff-test@2.2.0/node_modules/voight-kampff-test/dist/index.mjs
2+
//#region node_modules/.pnpm/voight-kampff-test@2.2.1/node_modules/voight-kampff-test/dist/index.mjs
33
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), s = (e, i, o, s) => {
44
if (i && typeof i == `object` || typeof i == `function`) for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
55
get: ((e) => i[e]).bind(null, d),
@@ -66,9 +66,9 @@ const l = {
6666
CREATE_BURST_HIGH: 8,
6767
POINTS_CREATE_BURST_EXTREME: 35,
6868
POINTS_CREATE_BURST_HIGH: 25,
69-
HOURS_ACTIVE_EXTREME: 18,
70-
EVENTS_PER_HOUR_MIN: 1.5,
71-
POINTS_24_7_ACTIVITY: 30,
69+
HOURS_ACTIVE_EXTREME: 21,
70+
EVENTS_PER_HOUR_MIN: 2,
71+
POINTS_24_7_ACTIVITY: 25,
7272
EVENT_TYPE_DIVERSITY_MIN: 2,
7373
POINTS_LOW_DIVERSITY: 20,
7474
ISSUE_COMMENT_SPAM_WINDOW_MINUTES: 2,
@@ -417,7 +417,7 @@ function m({ createdAt: e, reposCount: t, accountName: n, events: r }) {
417417
});
418418
let c = a < l.AGE_YOUNG_ACCOUNT;
419419
if (r.length >= l.MIN_EVENTS_FOR_ANALYSIS) {
420-
let e = r.filter((e) => e.type === `CreateEvent`);
420+
let e = r.filter((e) => e.type === `CreateEvent` && e.payload?.ref_type === `repository`);
421421
if (e.length >= l.CREATE_EVENTS_MIN) {
422422
let t = e.map((e) => (0, f.default)(e.created_at)).sort((e, t) => e.valueOf() - t.valueOf()), n = 0, r = 0;
423423
for (let e = 0; e < t.length; e++) {

0 commit comments

Comments
 (0)