Skip to content

v2.1.0

Choose a tag to compare

@Affanmir Affanmir released this 30 Apr 04:18
· 4 commits to main since this release

What's New in v2.1.0

Title input for PR comments

A new optional title input renders an H2 heading at the top of the PR comment. Useful in monorepos where a matrix of coverage jobs runs and each comment needs to identify which app or package it belongs to.

- uses: Affanmir/diff-cover-action@v2
  with:
    title: partners-app
    coverage-files: apps/partners-app/coverage/lcov.info
    comment-identifier: diff-cover-partners-app
    fail-under: '80'

When title is empty (default), no heading is rendered — behavior is unchanged from v2.0.0.

Documentation

  • README adds a Comment Customization input table and a Monorepo Matrix advanced example
  • All quick-start snippets in the README, the GitHub Pages site, and llms.txt now reference @v2
  • CHANGELOG updated for 2.1.0

Migration from v2.0.0

No action needed — fully backwards compatible. Just bump the ref:

- uses: Affanmir/diff-cover-action@v2   # tracks v2.x
# or pin
- uses: Affanmir/diff-cover-action@v2.1.0

Full Changelog: v2.0.0...v2.1.0