From 92ba9fb7bf6b84b4f6c91209bb926c321c60446b Mon Sep 17 00:00:00 2001 From: km-anthropic Date: Thu, 28 Aug 2025 14:46:22 -0700 Subject: [PATCH] fix: address review comments - Simplify track_progress description to be more general - Move import to top of types.ts file --- action.yml | 2 +- src/create-prompt/types.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index fa852dc..f5f7be6 100644 --- a/action.yml +++ b/action.yml @@ -74,7 +74,7 @@ inputs: required: false default: "false" track_progress: - description: "Force tag mode with tracking comments for pull_request and issue events. Only applicable to pull_request (opened, synchronize, ready_for_review, reopened) and issue (opened, edited, labeled, assigned) events." + description: "Force tag mode with tracking comments for pull_request and issue events" required: false default: "false" experimental_allowed_domains: diff --git a/src/create-prompt/types.ts b/src/create-prompt/types.ts index 4854b77..bfbe7d4 100644 --- a/src/create-prompt/types.ts +++ b/src/create-prompt/types.ts @@ -1,3 +1,5 @@ +import type { GitHubContext } from "../github/context"; + export type CommonFields = { repository: string; claudeCommentId: string; @@ -99,5 +101,5 @@ export type EventData = // Combined type with separate eventData field export type PreparedContext = CommonFields & { eventData: EventData; - githubContext?: import("../github/context").GitHubContext; + githubContext?: GitHubContext; };