Sync actions from atomicqms-style deployment

Actions synced:

Synced at: 2025-12-27T16:24:04Z
This commit is contained in:
AtomicQMS Service
2025-12-27 11:24:04 -05:00
parent e4b706d591
commit d974130597
45 changed files with 7728 additions and 2 deletions

View File

@@ -0,0 +1,53 @@
import type { GitHubClient } from "../api/client";
type IssueComment = {
type: "issue_comment";
id: string;
body: string;
};
type ReviewComment = {
type: "review_comment";
id: string;
body: string;
};
type ReviewBody = {
type: "review_body";
id: string;
pullNumber: string;
body: string;
};
type IssueBody = {
type: "issue_body";
issueNumber: string;
body: string;
};
type PullRequestBody = {
type: "pr_body";
pullNumber: string;
body: string;
};
export type CommentWithImages =
| IssueComment
| ReviewComment
| ReviewBody
| IssueBody
| PullRequestBody;
export async function downloadCommentImages(
_client: GitHubClient,
_owner: string,
_repo: string,
_comments: CommentWithImages[],
): Promise<Map<string, string>> {
// Temporarily simplified - return empty map to avoid Octokit dependencies
// TODO: Implement image downloading with direct Gitea API calls if needed
console.log(
"Image downloading temporarily disabled during Octokit migration",
);
return new Map<string, string>();
}