-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve: アップロード後にコメントを更新するようにする #13
Improve: アップロード後にコメントを更新するようにする #13
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 suggestion.
Files not reviewed (1)
- package.json: Language not supported
scripts/common.ts
Outdated
// 収集対象のリポジトリ | ||
export const guestRepo = "voicevox/voicevox"; | ||
// デプロイ情報を書き込むコメントの最初に付けるマーカー | ||
export const commentMarker = "<!-- voiccevox preview-pages info -->"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The word "voiccevox" should be "voicevox".
export const commentMarker = "<!-- voiccevox preview-pages info -->"; | |
export const commentMarker = "<!-- voicevox preview-pages info -->"; |
Copilot is powered by AI, so mistakes are possible. Review output carefully before use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
タイポの修正はどっちでも良いと思います!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 suggestion.
Files not reviewed (1)
- package.json: Language not supported
// 過去に使われていたマーカーも含めたマーカーの一覧 | ||
export const commentMarkers = [ | ||
commentMarker, | ||
"<!-- voiccevox preview-pages info -->", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in the comment marker. It should be "".
"<!-- voiccevox preview-pages info -->", | |
"<!-- voicevox preview-pages info -->", |
Copilot is powered by AI, so mistakes are possible. Review output carefully before use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
マーカーが大体置き換わったら過去のマーカーは消せそうですね!
mainブランチのCDが落ちてそう?(把握されてる気がしますがとりあえずコメント) |
修正をこっちに入れ忘れてました… gitGraph
commit ID: "..."
branch pr/13
commit ID: "バグを埋め込む"
branch pr/14
commit ID: "新機能を作る"
commit ID: "バグに気がついて直す"
checkout main
merge pr/13
commit ID: "いまここ"
|
内容
アップロード後にコメントを更新するようにするようにします。
Copilotに要約させてみた
This pull request includes several changes to the workflow and script files to improve the build and deployment processes. The key changes involve renaming and restructuring scripts, updating the workflow configuration, and modularizing common functionality into a shared file.
Workflow and Script Updates:
scripts/collect.ts
toscripts/collectArtifacts.ts
and updated the script to use modular imports from a newscripts/common.ts
file. [1] [2] [3]scripts/updateComments.ts
to handle updating comments with deployment information.package.json
to reflect the new script names and added a script for updating comments.Workflow Configuration Changes:
.github/workflows/update_pages.yml
to separate artifact collection and build steps, and added a step to update comments after deployment. [1] [2]Codebase Simplification:
scripts/common.ts
to centralize shared constants and functions used across multiple scripts.src/composables/useDownloadData.ts
to use theDownloadData
type from the newscripts/common.ts
file.関連 Issue
(なし)
スクリーンショット・動画など
(なし)
その他
(なし)