# Function isReadOnlyAction

- isReadOnlyAction(
  actionType:
  | "GeneratePatchPlan"
  | "DraftReply"
  | "ProposeLabels"
  | "SummarizeIssue"
  | "ClassifyIssue"
  | "IdentifyDuplicates"
  | "RequestHumanApproval"
  | "RefuseAction"
  | "HandoffMessage",
  ): boolean

  Check whether an action type is read-only (does not modify GitHub state).

  #### Parameters

  - actionType:
    | "GeneratePatchPlan"
    | "DraftReply"
    | "ProposeLabels"
    | "SummarizeIssue"
    | "ClassifyIssue"
    | "IdentifyDuplicates"
    | "RequestHumanApproval"
    | "RefuseAction"
    | "HandoffMessage"

    The action type discriminator value.

  #### Returns boolean

  True if the action is read-only.

  - Defined in packages/nexus-agents/src/security/action-schema.ts:264