import { purgeWorkflowEventReceipts } from "./job-token";
/**
* Cron Trigger work for Actions that is not per repository. Scheduled workflows, cache eviction, job token expiry
* and stale runner jobs run from each repository's RepoState alarm (repo-state/housekeeping.ts).
*/
export async function runActionsCron(): Promise<void> {
try {
await purgeWorkflowEventReceipts();
} catch (error) {
console.error("Actions cron task failed", error);
}
}