Skip to content

Commit

Permalink
Merge pull request #50 from kunai-consulting/linear-soc2
Browse files Browse the repository at this point in the history
test creation of linear release ticket
  • Loading branch information
thejackshelton-kunaico authored Aug 26, 2024
2 parents c0fce91 + bb73935 commit 65caeba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cyan-ants-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@kunai-consulting/qwik-components": patch
---

test: creating linear ticket
4 changes: 4 additions & 0 deletions .github/scripts/update-linear.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,16 @@ async function createLinearReleaseIssue() {
return;
}

// user that created the API key
const me = await linearClient.viewer;

const issuePayload = await linearClient.createIssue({
teamId: team.id,
title: issueTitle,
description: issueDescription,
projectId: project.id,
priority: 1,
assigneeId: me.id,
});

const issueId = (await issuePayload.issue)?.id;
Expand Down

0 comments on commit 65caeba

Please sign in to comment.