Add a workflows-scripts action that returns the scripts of the running workflow commit #345
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.31) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.31 · 116 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.285
Real PR Conversation Timeline
1 comments
"Review active on #345"
general
weight: 0.35
FranzBusch
A caller that pins a reusable workflow to a release gets the workflow YAML from that release, but the scripts the YAML runs come from a separate checkout of this repository with no
ref:, so they come from the default branch and a tag does not pin them.The new composite action locates the scripts and configuration files through
github.action_path, which GitHub resolves for a$/reference to this repository at the commit of the running workflow. An optionalcopy_into_workspaceinput copies the scripts into the workspace, for consumers that only see the workspace, and the action returns the scripts path in POSIX, Windows and workspace-relative forms.This PR also adopts this change for
soundness.yml,package_test.yml,toolchain_matrix.yml,benchmarks.ymlandexecute_matrix.yml. (It leavesswift_package_test.ymlunchanged.)This should resolve https://github.com/swiftlang/github-workflows/issues/334