forked from VOICEVOX/voicevox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/store-state-typing
- Loading branch information
Showing
46 changed files
with
1,278 additions
and
464 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# VVPPデフォルトエンジンでのテスト用の.envファイル。 | ||
|
||
VITE_APP_NAME=voicevox | ||
VITE_DEFAULT_ENGINE_INFOS=`[ | ||
{ | ||
"type": "downloadVvpp", | ||
"name": "VOICEVOX Nemo Engine", | ||
"uuid": "208cf94d-43d2-4cf5-abc0-9783cac36d29", | ||
"executionEnabled": true, | ||
"executionArgs": [], | ||
"host": "http://127.0.0.1:50121", | ||
"latestUrl": "https://voicevox.hiroshiba.jp/nemoLatestDefaultEngineInfos.json" | ||
} | ||
]` | ||
VITE_OFFICIAL_WEBSITE_URL=https://voicevox.hiroshiba.jp/ | ||
VITE_LATEST_UPDATE_INFOS_URL=https://voicevox.hiroshiba.jp/updateInfos.json | ||
VITE_GTM_CONTAINER_ID=GTM-DUMMY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: "Merge Gatekeeper" | ||
|
||
# auto mergeとmerge queue用のチェッカー。 | ||
# Approve数が足りているか、すべてのテストが通っているかを確認します。 | ||
# 詳細: https://github.com/VOICEVOX/merge-gatekeeper | ||
|
||
on: | ||
pull_request_target: | ||
types: [auto_merge_enabled] | ||
merge_group: | ||
types: [checks_requested] | ||
|
||
jobs: | ||
merge_gatekeeper: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: voicevox/merge-gatekeeper@main | ||
with: | ||
token: ${{ secrets.GATEKEEPER_TOKEN }} | ||
required_score: 2 | ||
score_rules: | | ||
#maintainer: 2 | ||
#reviewer: 1 | ||
- uses: upsidr/merge-gatekeeper@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
self: merge_gatekeeper | ||
# https://github.com/upsidr/merge-gatekeeper/issues/71#issuecomment-1660607977 | ||
ref: ${{ github.event.pull_request && github.event.pull_request.head.ref || github.ref }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ on: | |
pull_request: | ||
branches: | ||
- "**" | ||
merge_group: | ||
types: [checks_requested] | ||
workflow_dispatch: | ||
|
||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { z } from "zod"; | ||
import { uuid4 } from "@/helpers/random"; | ||
|
||
const fakePathSchema = z | ||
.string() | ||
.regex(/^<browser-dummy-[0-9a-f]+>-.+$/) | ||
.brand("FakePath"); | ||
export type FakePath = z.infer<typeof fakePathSchema>; | ||
|
||
export const isFakePath = (path: string): path is FakePath => { | ||
return fakePathSchema.safeParse(path).success; | ||
}; | ||
|
||
export const createFakePath = (name: string): FakePath => { | ||
return fakePathSchema.parse(`<browser-dummy-${uuid4()}>-${name}`); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.