Releases: py-cov-action/python-coverage-comment-action
v4.1
What's Changed
(Should have been 4.0, but I borked the tag)
Breaking changes & features
In #698: Zizmor compatibility means we don't commit using checkout's persisted credentials, and use the GITHUB_TOKEN to commit instead. Also, it's now officially recommended to pin this (and all other) actions in your workflows using a commit hash and not a tag. See Pinact. For the same reason, this action now uses immutable releases so you can't use @v4 anymore in your workflows.
In #621 and 718: If you want control over what exactly the action does (is it a PR (process_pr) or the main branch (save_coverage_data_files) or should it just create the PR comment(post_comment)), you can now specify ACTIVITY. The default heuristics should work for 99% of cases though. As part of solving that, we also discovered that MAX_FILES_IN_COMMENT has actually never worked, and we fixed it.
Full Changelog: v3...v4.1
What's Changed
- Add zizmor by @ewjoachim in #698
- Improve error handling by @ewjoachim in #695
- Switch pre-commit to prek and autofix by @ewjoachim in #712
- Simplify renovate config by @ewjoachim in #715
- Add pytest-subprocess, pytest-httpx, remove pytest-mock by @ewjoachim in #716
- Add support for custom event dispatching by @dgolombek in #621
- Advocate for pinning other actions in readme by @ewjoachim in #717
- Add activity in action by @ewjoachim in #718
New Contributors
- @dgolombek made their first contribution in #621
Full Changelog: v3...v4.1
v3.41
What's Changed
- improve wording on needed permissions by @wollew in #641
- fix: add conventional commit prefix to message by @arturo-guridi-snkeos in #645
New Contributors
- @wollew made their first contribution in #641
- @arturo-guridi-snkeos made their first contribution in #645
Full Changelog: v3.40...v3.41
v3.40
What's Changed
- Document the need for persist-credentials after actions/checkout. by @tim-schilling in #625
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #636
- Gracefully handle "diff too large" errors by @epeters3 in #637
New Contributors
- @tim-schilling made their first contribution in #625
- @epeters3 made their first contribution in #637
Full Changelog: v3.39...v3.40
v3.39
What's Changed
- Switch to 3.14, add typing by @ewjoachim in #618
- Bump base image to v7 by @ewjoachim in #619
Full Changelog: v3.38...v3.39
v3.38
What's Changed
- feat: Expose coverage data as action outputs by @olivier-lacroix in #594
See README for details.
Note
The official name of the output previously known as COMMENT_FILE_WRITTEN is now comment_file_written but GitHub outputs are case insensitive, so previously written code will continue to work
Full Changelog: v3...v3.38
v3.37
What's Changed
- feat: Handle Merge Queues by @olivier-lacroix in #592
New Contributors
- @olivier-lacroix made their first contribution in #592
Full Changelog: v3.36...v3.37
v3.36
What's Changed
- Adds additional support for Github enterprise usecases & support for pull_request/closed trigger by @daniel-anya in #589
Full Changelog: v3.35...v3.36
v3.35
What's Changed
- use three dot notation to calculate diff by @ewjoachim & @stickperson in #573
Full Changelog: v3.34...v3.35
v3.34
v3.33
What's Changed
- Calculate PR-style diff by @stickperson in #532
New Contributors
- @stickperson made their first contribution in #532
Full Changelog: v3.32...v3.33