Repository navigation
Skip Semantic Diff for fork PRs into maintenance branches - #9320
Conversation
A fork PR runs the workflow from master but checks out its base commit for the renderer. Maintenance branches don't have the renderer script, so the job failed there (seen on #9318 into maintenance/12.x). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kbf3gGHHcoxuVopoQtEcJ7 Signed-off-by: Christoph Knittel <ck@cca.io>
Changelog🏠 Internal
Semantic Diff1 commit · Full page Skip Semantic Diff for fork PRs into maintenance branchesde02d3d · cknitt + Claude · Nov 18, 2026, 19:11 UTC A fork PR runs the workflow from master but checks out its base commit for the renderer. Maintenance branches don't have the renderer script, so the job failed there (seen on #9318 into maintenance/12.x). |
✅ Compiler benchmarksAllocated wordsIn total: 638,078,157 → 638,078,227 (±0.00%). Generated projects: 629,801,783 → 629,802,701 (±0.00%). None of the 265 benchmarks changed by 0.1% or more. InstructionsIn total: 9,209,577,229 → 9,209,577,229 (±0.00%). None of the 33 benchmarks changed by 0.1% or more. Output sizeIn total: 25,874,868 → 25,874,868 (±0.00%). None of the 13 benchmarks changed by 0.1% or more. Pull request de02d3d compared with base fd7a39f in this run. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9320 +/- ##
==========================================
- Coverage 82.12% 82.12% -0.01%
==========================================
Files 456 456
Lines 65652 65652
==========================================
- Hits 53917 53915 -2
- Misses 11735 11737 +2 🚀 New features to boost your workflow:
|
rescript
@rescript/belt
@rescript/darwin-arm64
@rescript/linux-arm64
@rescript/linux-x64
@rescript/runtime
@rescript/win32-x64
commit: |
|
Developer playground preview: https://rescript-lang.github.io/rescript/dev-playground/?version=pr-9320 |
Fork PRs run the Semantic Diff workflow through
pull_request_target. GitHub always takes that workflow from master, but the job checks out the PR's base commit to get the renderer. Maintenance branches have noscripts/commitRecords.js, so the job fails withMODULE_NOT_FOUND. For example, #9318 intomaintenance/12.xfailed this way.This adds
branches-ignore: ["maintenance/**"]to thepull_request_targettrigger. Fork PRs into master and into feature branches still run it. PRs from branches of this repo into a maintenance branch already skipped it, becausepull_requestreads the workflow from the merge, and maintenance branches don't have it.🤖 Generated with Claude Code
https://claude.ai/code/session_01Kbf3gGHHcoxuVopoQtEcJ7