Skip to content

Commit 955c958

Browse files
anglesheJounQin
andauthored
fix: not open add changeset url on specific environment (#137)
Co-authored-by: JounQin <admin@1stg.me>
1 parent be50e4a commit 955c958

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/green-ducks-yawn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"changesets-gitlab": patch
3+
---
4+
5+
fix: not open add changeset url on specific environment

src/comment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export const comment = async () => {
199199
}),
200200
] as const)
201201

202-
const addChangesetUrl = `${CI_MERGE_REQUEST_PROJECT_URL!}/new/${mrBranch}?file_name=.changeset/${humanId(
202+
const addChangesetUrl = `${CI_MERGE_REQUEST_PROJECT_URL!}/-/new/${mrBranch}?file_name=.changeset/${humanId(
203203
{
204204
separator: '-',
205205
capitalize: false,

0 commit comments

Comments
 (0)