diff --git a/.changeset/green-ducks-yawn.md b/.changeset/green-ducks-yawn.md new file mode 100644 index 00000000..f92622ec --- /dev/null +++ b/.changeset/green-ducks-yawn.md @@ -0,0 +1,5 @@ +--- +"changesets-gitlab": patch +--- + +fix: not open add changeset url on specific environment diff --git a/src/comment.ts b/src/comment.ts index 40230fc6..26742f63 100644 --- a/src/comment.ts +++ b/src/comment.ts @@ -199,7 +199,7 @@ export const comment = async () => { }), ] as const) - const addChangesetUrl = `${CI_MERGE_REQUEST_PROJECT_URL!}/new/${mrBranch}?file_name=.changeset/${humanId( + const addChangesetUrl = `${CI_MERGE_REQUEST_PROJECT_URL!}/-/new/${mrBranch}?file_name=.changeset/${humanId( { separator: '-', capitalize: false,