← Back to Pull requests

Migrate GitHub Pages deployment to official first-party actions #391

Closed
unknown closed this pull request without merging on Feb 11, 2026 15:58 UTC
View on GitHub
unknown unknown commented on Feb 04, 2026 23:46 UTC
Author

Replaces third-party peaceiris/actions-gh-pages@v3 with official GitHub Pages actions using OIDC authentication.

Changes

  • Workflow structure: Split into build and deploy jobs per first-party action requirements

  • Permissions: Workflow-level contents: read, pages: write, id-token: write for OIDC

  • Deployment: actions/upload-pages-artifact@v3 + actions/deploy-pages@v4

  • Concurrency: Added pages group to prevent simultaneous deployments

  • Action versions: Updated checkout@v2 → @v4, setup-dotnet@v1 → @v4

  • .NET version: Updated from .NET 8 to .NET 10
  • Before/After

    # Before
    - uses: peaceiris/actions-gh-pages@v3
      with:
        github_token: ${{ secrets.GITHUB_TOKEN }}
        publish_dir: toPublish
    
    # After (build job)
    - uses: actions/upload-pages-artifact@v3
      with:
        path: toPublish
    
    # After (deploy job)
    - uses: actions/deploy-pages@v4
    

    <!-- START COPILOT CODING AGENT SUFFIX -->

    <!-- START COPILOT ORIGINAL PROMPT -->

    <details>

    <summary>Original prompt</summary>

    Migrate #390 to be a PR against main rather than the alert pr.

    </details>

    <!-- START COPILOT CODING AGENT TIPS -->
    ---

    💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

    Diff: 163 lines (+122 / -41) across 2 files Reviewer: danfiedler-msft Review duration: 9611m
    All Vouch review confidence checks passed
    Residual risk 0.27 = Change Risk (0.63) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.63 · 163 lines diff across 2 files
    0.63
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    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
    Diff Size diff_size
    0.305
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.063
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #391"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed sensitive_module
    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: 63.1% (MEDIUM) · Higher = larger blast radius
    63.1%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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: 27.3% · Safe to merge
    27.3%
    Repository