Conversation
itch.ioへの自動リリース対応
uPiperをチャット機能に繋ぎこみ
- setup.issのバージョンを1.0.0に更新 - ProjectSettingsのbundleVersionを1.0.0に更新 - GitHub Actionsワークフローのデフォルトバージョンを1.0.0に更新 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
feat: バージョンを1.0.0に更新
| needs: [ build-windows, build-mac, check-branch ] | ||
| if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name != 'pull_request' && (github.event_name == 'schedule' || startsWith(github.ref, 'refs/heads/main') || startsWith(github.ref, 'refs/tags/'))) }} | ||
| runs-on: ubuntu-latest | ||
|
|
||
| concurrency: | ||
| group: deploy-itchio-${{ github.ref }}-${{ matrix.platform }} | ||
| cancel-in-progress: true | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| platform: [ windows, mac ] | ||
|
|
||
| steps: | ||
| - name: Download build artifact | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| name: ${{ matrix.platform == 'windows' && format('Build-StandaloneWindows64-v{0}', needs.check-branch.outputs.current_version) || format('Build-StandaloneOSX-v{0}', needs.check-branch.outputs.current_version) }} | ||
| path: . | ||
|
|
||
| - name: Set package path | ||
| id: pkg | ||
| run: echo "pkg=." >> $GITHUB_OUTPUT | ||
|
|
||
| - name: Push to itch.io | ||
| uses: yeslayla/butler-publish-itchio-action@v1.0.3 | ||
| env: | ||
| BUTLER_CREDENTIALS: ${{ secrets.ITCHIO_API_KEY }} | ||
| ITCH_USER: midralab | ||
| ITCH_GAME: uDesktopMascot | ||
| CHANNEL: ${{ matrix.platform == 'windows' && 'windows-x64' || 'osx-universal' }} | ||
| PACKAGE: ${{ steps.pkg.outputs.pkg }} |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 7 months ago
To address this problem, add an explicit permissions block to the workflow YAML—either at the top level (root) to apply to all jobs, or at individual job levels if needing different scopes. Since this workflow mainly downloads/upload artifacts and interacts with Git LFS but does not push to the repository or do writes to issues or pull requests, the minimal safest setting is likely contents: read. If you add this block at the root of the workflow—after the name and before on or jobs—it will apply to all jobs, meeting the principle of least privilege and satisfying the CodeQL recommendation.
Changes:
- Insert at the beginning of
.github/workflows/build.yml(between thenameandonfields) the line(s):permissions: contents: read
- No other code, imports, or structural changes are required.
| @@ -1,4 +1,6 @@ | ||
| name: Run build | ||
| permissions: | ||
| contents: read | ||
|
|
||
| on: | ||
| workflow_dispatch: |
There was a problem hiding this comment.
Pull Request Overview
This PR updates the application to version 1.0.0 and adds Text-to-Speech (TTS) functionality using the uPiper library. The major change integrates Japanese speech synthesis capabilities into the AI chat dialog system.
- Updated version numbers across configuration files to 1.0.0
- Integrated uPiper TTS library with OpenJTalk phonemizer for Japanese speech synthesis
- Added comprehensive TTS audio generation and playback functionality to the chat dialog
Reviewed Changes
Copilot reviewed 48 out of 57 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| setup.iss | Updated version from 0.3.0 to 1.0.0 |
| ProjectSettings/ProjectSettings.asset | Updated bundle version from 0.4.0 to 1.0.0 |
| Packages/manifest.json & packages-lock.json | Added uPiper TTS package dependency |
| Assets/uDesktopMascot/Scripts/Dialog/ChatDialog.cs | Implemented TTS functionality with OpenJTalk phonemizer |
| Assets/uDesktopMascot/Resources/UI/Dialog/AIChatDialog.prefab | Added AudioSource component for TTS playback |
| Assets/StreamingAssets/uPiper/ | Added OpenJTalk dictionary files and phonemizer resources |
| Assets/uPiper/ | Added uPiper plugin metadata files |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
fix: モーダルが開いていないときだけClickによるボイスの反応を行うようにする
fix: uPiperのmac プラグインの追加
確認事項