← Back to Pull requests

Add Deno workflow for linting and testing #3453

Open
unknown opened this pull request with 627 lines diff across 7 files
View on GitHub
unknown unknown commented on Sep 17, 2026 09:00 UTC
Author

This workflow installs Deno and runs linting and tests on push and pull request events.

<!--
IMPORTANT:

This repository contains configuration for what users see when they click on the Actions tab and the setup page for Code Scanning.

It is not:
A playground to try out scripts
A place for you to create a workflow for your repository
-->

Pre-requisites

  • Prior to submitting a new workflow, please apply to join the GitHub Technology Partner Program: partner.github.com/apply.
  • ---

    Please note that at this time we are only accepting new starter workflows for Code Scanning. Updates to existing starter workflows are fine.

    ---

    Tasks

    For _all_ workflows, the workflow:

  • Should be contained in a .yml file with the language or platform as its filename, in lower, _kebab-cased_ format (for example, docker-image.yml). Special characters should be removed or replaced with words as appropriate (for example, "dotnet" instead of ".NET").

  • Should use sentence case for the names of workflows and steps (for example, "Run tests").

  • Should be named _only_ by the name of the language or platform (for example, "Go", not "Go CI" or "Go Build").

  • Should include comments in the workflow for any parts that are not obvious or could use clarification.

  • Should specify least privileged permissions for GITHUB_TOKEN so that the workflow runs successfully.
  • For _CI_ workflows, the workflow:

  • Should be preserved under the ci directory.

  • Should include a matching ci/properties/.properties.json file (for example, ci/properties/docker-publish.properties.json).

  • Should run on push to branches: [ $default-branch ] and pull_request to branches: [ $default-branch ].

  • Packaging workflows should run on release with types: [ created ].

  • Publishing workflows should have a filename that is the name of the language or platform, in lower case, followed by "-publish" (for example, docker-publish.yml).
  • For _Code Scanning_ workflows, the workflow:

  • Should be preserved under the code-scanning directory.

  • Should include a matching code-scanning/properties/.properties.json file (for example, code-scanning/properties/codeql.properties.json), with properties set as follows:

  • - [ ] name: Name of the Code Scanning integration.
    - [ ] creator: Name of the organization/user producing the Code Scanning integration.
    - [ ] description: Short description of the Code Scanning integration.
    - [ ] categories: Array of languages supported by the Code Scanning integration.
    - [ ] iconName: Name of the SVG logo representing the Code Scanning integration. This SVG logo must be present in the icons directory.
  • Should run on push to branches: [ $default-branch, $protected-branches ] and pull_request to branches: [ $default-branch ]. We also recommend a schedule trigger of cron: $cron-weekly (for example, codeql.yml).
  • Some general notes:

  • This workflow must _only_ use actions that are produced by GitHub, in the actions organization, or

  • This workflow must _only_ use actions that are produced by the language or ecosystem that the workflow supports. These actions must be published to the GitHub Marketplace. We require that these actions be referenced using the full 40 character hash of the action's commit instead of a tag. Additionally, workflows must include the following comment at the top of the workflow file:

  •     # This workflow uses actions that are not certified by GitHub.
        # They are provided by a third-party and are governed by
        # separate terms of service, privacy policy, and support
        # documentation.
        

  • Automation and CI workflows should not send data to any 3rd party service except for the purposes of installing dependencies.

  • Automation and CI workflows cannot be dependent on a paid service or product.
  • Diff: 627 lines (+470 / -157) across 7 files Reviewer: tjkilgore93-stack Review duration: 21288m
    All Vouch review confidence checks passed
    Residual risk 0.27 = Change Risk (0.50) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.50 · 627 lines diff across 7 files
    0.50
    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: 35%
    46%
    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.385
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #3453"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% 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.3% (MEDIUM) · Higher = larger blast radius
    50.3%
    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: 46.7% · Lower = rushed or shallow review
    46.7%
    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: 26.8% · Safe to merge
    26.8%