Skip to content

feat(sdk): add script to comment on Linear issue RYA-2 - #18

Draft
rrdelaney wants to merge 1 commit into
masterfrom
ryan/rya-1-comment-on-an-issue-ec67
Draft

feat(sdk): add script to comment on Linear issue RYA-2#18
rrdelaney wants to merge 1 commit into
masterfrom
ryan/rya-1-comment-on-an-issue-ec67

Conversation

@rrdelaney

Copy link
Copy Markdown
Owner

Summary

  • Adds a script (packages/sdk/src/_tests/comment-on-issue.ts) that uses the Linear SDK to create a comment on issue RYA-2 (ca1deb13-a0e9-4922-9943-20e79729b1a9), acknowledging the task described in RYA-1.
  • The script follows existing test/utility patterns in the repo, using dotenv for configuration and the LinearClient from the SDK.

Test plan

  • Set API_KEY environment variable to a valid Linear API key
  • Run npx ts-node --esm packages/sdk/src/_tests/comment-on-issue.ts
  • Verify the comment appears on issue RYA-2 in Linear

Resolves RYA-1

Add a script that uses the Linear SDK to create a comment on issue
RYA-2 (ca1deb13-a0e9-4922-9943-20e79729b1a9), acknowledging the task
described in RYA-1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant