Comparing main@{1day}...main · microsoft/PR-Metrics · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/PR-Metrics
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main@{1day}
Choose a base ref
...
head repository: microsoft/PR-Metrics
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 1 commit
  • 18 files changed
  • 3 contributors

Commits on Oct 29, 2026

  1. Add option to not update the PR title (#885)

    ## Summary
    
    Fixes #884 (also requested in #422). Adds an `update-title` GitHub
    Action input and an `UpdateTitle` Azure Pipelines task input. When set
    to `false`, PR Metrics leaves the PR title unchanged while the comment,
    labels and status work as before. Any other value, including blank,
    keeps the current behaviour, so existing users see no change.
    
    This lets repositories that squash merge with Conventional Commits keep
    the metrics without the size/test prefix ending up in commit subjects,
    where it breaks commit-message checks and semantic-version tooling.
    
    Builds on #472 by @CurtisHx and follows its review: `UpdateTitle`
    naming, placed above `AlwaysCloseComment` with the Boolean settings,
    alphabetical resources, README and task docs, no version bumps. Like
    `AlwaysCloseComment`, the input is a string, so a missing value can't
    silently become `false`. When disabled, `getUpdatedTitle()` returns
    `null` without computing the size indicator.
    
    ## Testing
    
    ### Test Types
    
    - [x] Unit tests
    - [ ] Manual tests
    
    ### Unit Test Coverage
    
    Statements 100% (4765/4765), Branches 100% (725/725), Functions 100%
    (233/233), Lines 100% (4765/4765); 921 passing.
    
    ### Other Test Details
    
    New unit and property tests for the input (blank, invalid and `true`
    keep the default; any casing of `false` disables it) and for
    `getUpdatedTitle()` returning `null` without computing the size
    indicator when disabled. `npm run lint` is clean. `dist/` was rebuilt
    with `npm run build:package:no-install`; rebuilding unchanged `main` the
    same way reproduces its committed `dist/` exactly, so the `dist/` diff
    comes only from this change.
    
    ## Screenshots
    
    Not applicable.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-authored-by: Thiago Crepaldi <5469809+thiagocrepaldi@users.noreply.github.com>
    Co-authored-by: Claude <noreply@anthropic.com>
    3 people authored Oct 29, 2026
    Configuration menu
    Copy the full SHA
    ad4b6a1 View commit details
    Browse the repository at this point in the history
Loading