Skip to content

Commit ac19cd2

Browse files
committed
fix: update placeholder to show only supported GitHub URL formats
1 parent bbb97a0 commit ac19cd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ui/components/UrlExportSettings.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ export const UrlExportSettings = () => {
151151
placeholder={
152152
(settings.authType === config.key.authType.gitlabCommit &&
153153
'https://gitlab.com/api/v4/projects/:projectId') ||
154+
(settings.authType === config.key.authType.githubCommit &&
155+
'https://github.com/:username/:repo or https://api.github.com/repos/:username/:repo') ||
154156
'https://api.github.com/repos/:username/:repo/dispatches'
155157
}
156158
value={settings.serverUrl}

0 commit comments

Comments
 (0)