Clean up actions and payloads (#98)

* Clean up actions and payloads

* Clean up action

* Cleanup
This commit is contained in:
Colin McDonnell
2026-01-16 07:16:25 +00:00
committed by pullfrog[bot]
parent 5c60791b34
commit 9e019d89d2
68 changed files with 28182 additions and 306308 deletions
+4 -3
View File
@@ -1,5 +1,6 @@
import { fetchWorkflowRunInfo } from "./api.ts";
import { createOctokit, getGitHubInstallationToken, parseRepoContext } from "./github.ts";
import { createOctokit, parseRepoContext } from "./github.ts";
import { getGitHubInstallationToken } from "./token.ts";
import { fetchWorkflowRunInfo } from "./workflowRun.ts";
/**
* Get progress comment ID from environment variable or database.
@@ -22,7 +23,7 @@ export async function reportErrorToComment({
error: string;
title?: string;
}): Promise<void> {
const formattedError = title ? `${title}\n\n${error}` : `${error}`;
const formattedError = title ? `${title}\n\n${error}` : error;
// try to get comment ID from env var first, then from database if needed
let commentId = getProgressCommentIdFromEnv();