← Back to Pull requests

ci(workflows): add scoped GitHub Actions lockfile for standalone workflows #465

Merged
kyle-sexton merged 3 files (249 lines) on Nov 28, 2026 13:52 UTC
View on GitHub
kyle-sexton kyle-sexton commented on Nov 28, 2026 13:17 UTC
Author

Refs melodic-software/github-iac#997

Summary

Onboards a scoped .github/workflows/actions.lock covering only the 2 standalone workflows in this repository that call zero melodic-software/ci-workflows/.github/actions/@main step composites, following Option A on melodic-software/github-iac#997 and standards/engineering/github-actions-workflows.md:11.

Workflows calling first-party melodic-software/ci-workflows/.github/actions/@main step composites are intentionally excluded from .github/workflows/actions.lock so @main step composites are not frozen without an explicit first-party lock-refresh path. Cross-repository reusable workflow calls (jobs.<job_id>.uses) are outside actions.lock scope and remain unaffected.

Fix

Ran gh actions-lock --no-narrow --no-interactive against the 2 standalone workflows to generate .github/workflows/actions.lock (version: 'v0.0.3'):

  • .github/workflows/pr-review-hosted.yml

  • .github/workflows/pr-review-security-hosted.yml
  • This locks actions/checkout@v7 and actions/setup-node@v7 with zero melodic-software/ci-workflows entries.

    Verification

  • gh actions-lock --verify --no-onboard --json across both onboarded workflows: valid: true, lockfile_version: "v0.0.3", 2/2 workflows valid, 2 dependencies pinned with sha1-<40-hex>, integer owner_id, and integer repo_id, zero melodic-software/ci-workflows entries (only expected local-action warnings on runtime-staged ./.base/.github/actions/check-kill-switch).

  • actionlint (with standards config): exit 0.

  • zizmor --no-online-audits --strict-collection (with standards .github/zizmor.yml): 0 findings (lockfile recognized).

  • ec .github/workflows/actions.lock and typos .github/workflows/actions.lock: exit 0.

  • lefthook run pre-commit --no-auto-install --file .github/workflows/actions.lock: all hooks passed.
  • Related

  • Refs: melodic-software/github-iac#997

  • Policy: standards/engineering/github-actions-workflows.md:11
  • Diff: 249 lines (+186 / -63) across 3 files Reviewer: None requested Review duration: 34m
    All Vouch review confidence checks passed
    Residual risk 0.28 = Change Risk (0.51) × (1 − Review Confidence (0.44)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.51 · 249 lines diff across 3 files
    0.51
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    44%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.344
    Diff Size diff_size
    0.330
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Real PR Conversation Timeline
    1 comments
    "Review active on #465"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    kyle-sexton kyle-sexton
    Labels
    risk: low confidence: 44.2% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 50.9% (MEDIUM) · Higher = larger blast radius
    50.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 44.2% · Lower = rushed or shallow review
    44.2%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 28.4% · Safe to merge
    28.4%