Skip to content

Commit

Permalink
fix: Fix setting milestone on new release PRs
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Malton <sebastian@malton.name>
  • Loading branch information
Nokel81 committed May 23, 2023
1 parent a8cf8e1 commit 597dd36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/release-tool/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ async function createReleaseBranchAndCommit(prBase: string, version: SemVer, prB
'X-GitHub-Api-Version': '2022-11-28'
},
});
await octokit.request("POST /repos/{owner}/{repo}/issues/{issue_number}/milestone", {
await octokit.request("PATCH /repos/{owner}/{repo}/issues/{issue_number}", {
owner: "lensapp",
repo: "lens",
issue_number: newReleasePR.data.number,
Expand Down

0 comments on commit 597dd36

Please sign in to comment.