[CI] Staple .app inside dmg#33592
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
🚧 Files skipped from review as they are similar to previous changes (4)
📝 WalkthroughWalkthroughThis PR extends the macOS build pipeline to support parameterized Apple Team ID and notarization credentials. Previously, the team ID was hardcoded in notarize.sh and notarization was not performed during packaging. The workflow now defines APPLE_TEAM_ID as an environment variable and conditionally passes notarization credentials (username and password) to the packaging and notarization scripts. The notarize.sh script now requires --team-id as an parameter instead of using a hardcoded value. The CI package wrapper script forwards the Team ID and credentials to the final packaging script. The packaging script implements a conditional notarization flow that submits the app to Apple, waits for completion, staples the notarization, and validates the result when credentials are provided. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/build_macos.yml:
- Line 246: The notarize invocation passes unquoted shell variables which can
cause word-splitting/globbing; update the bash call to pass the USER and PW
variables to notarize.sh with double quotes around each variable (i.e., quote
both $USER and $PW in the -u and -p arguments) so they are treated as single
arguments when invoking notarize.sh.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 2d1b5755-66e3-40e3-a444-4b216543276a
📒 Files selected for processing (4)
.github/workflows/build_macos.ymlbuildscripts/ci/macos/notarize.shbuildscripts/ci/macos/package.shbuildscripts/packaging/macOS/package.sh
|
Is this supposed to fix https://musescore.org/en/node/392826 ? |
|
@Jojo-Schmitz I hope so |

Attempt to fix
macOS stable build: https://github.com/musescore/MuseScore/actions/runs/26501419475