Fix switched repo and owner

This commit is contained in:
Adam Turner
2024-11-17 18:36:37 +00:00
parent 659478c603
commit 8b1120ea90

View File

@@ -23,8 +23,8 @@ jobs:
const _FOUR_WEEKS_MILLISECONDS = 28 * 24 * 60 * 60 * 1000;
const _FOUR_WEEKS_DATE = new Date(Date.now() - _FOUR_WEEKS_MILLISECONDS);
const FOUR_WEEKS_AGO = `${_FOUR_WEEKS_DATE.toISOString().substring(0, 10)}T00:00:00Z`;
const OWNER = context.repo.repo;
const REPO = context.repo.owner;
const OWNER = context.repo.owner;
const REPO = context.repo.repo;
try {
for (const thread_type of ["issue", "pr"]) {