From e5be842a2f4a37c1706c0b4123e2c23e0891bd34 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 23 Nov 2026 16:09:38 +0000 Subject: [PATCH] chore(main): release 0.6.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 18 ++++++++++++++++++ README.md | 6 +++--- docs/index.html | 10 +++++----- examples/bitbucket-pipelines.yml | 2 +- examples/github-workflow.yml | 2 +- examples/gitlab-ci.yml | 2 +- internal/version/version.go | 2 +- 8 files changed, 31 insertions(+), 13 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f1c1e58..bcd0522 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.5.0" + ".": "0.6.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 77074c1..6af7f02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [0.6.0](https://github.com/divmora/code-review-bot/compare/v0.5.0...v0.6.0) (2026-11-23) + + +### Features + +* only fixed findings raise scores; tell fixed from dismissed ([#24](https://github.com/divmora/code-review-bot/issues/24)) ([dfda305](https://github.com/divmora/code-review-bot/commit/dfda3051e425014229db5b0e326b9480a8eb2632)), closes [#15](https://github.com/divmora/code-review-bot/issues/15) + + +### Bug Fixes + +* give existing score labels their band colour ([#18](https://github.com/divmora/code-review-bot/issues/18)) ([1d97934](https://github.com/divmora/code-review-bot/commit/1d979349ebe634a81ac13abc6e183ff98cde2e22)) +* read the walkthrough leniently and don't guess scores when it fails ([#16](https://github.com/divmora/code-review-bot/issues/16)) ([e5a3f06](https://github.com/divmora/code-review-bot/commit/e5a3f06739565901ccd13ad971a0588e404f990d)), closes [#14](https://github.com/divmora/code-review-bot/issues/14) +* **security:** files the review skipped keep the bot from approving ([#27](https://github.com/divmora/code-review-bot/issues/27)) ([7bef50a](https://github.com/divmora/code-review-bot/commit/7bef50ae8cbd768ab85d06faade89ef49d8a4387)), closes [#20](https://github.com/divmora/code-review-bot/issues/20) +* **security:** neutralise GitLab quick actions and mentions in posted text ([#25](https://github.com/divmora/code-review-bot/issues/25)) ([ed3455f](https://github.com/divmora/code-review-bot/commit/ed3455f1175498152a7bc9687ae93f8fe8776caa)) +* **security:** read back only the bot's own (or signed) comments as its state ([#28](https://github.com/divmora/code-review-bot/issues/28)) ([d26071f](https://github.com/divmora/code-review-bot/commit/d26071f48fb295d585c32368942e6239af67fc80)) +* **security:** send tokens only to their configured host; refuse cross-host redirects ([#29](https://github.com/divmora/code-review-bot/issues/29)) ([4932c78](https://github.com/divmora/code-review-bot/commit/4932c7864952247d3414326008caaf44a67375ba)), closes [#23](https://github.com/divmora/code-review-bot/issues/23) +* **security:** withdraw the bot's approval when a new commit can't be judged ([#26](https://github.com/divmora/code-review-bot/issues/26)) ([0de525e](https://github.com/divmora/code-review-bot/commit/0de525e0e9693f8bcfadee641d9819e3abf9b8e5)), closes [#22](https://github.com/divmora/code-review-bot/issues/22) + ## [0.5.0](https://github.com/divmora/code-review-bot/compare/v0.4.1...v0.5.0) (2026-11-23) diff --git a/README.md b/README.md index 9d6aa45..1a071d0 100644 --- a/README.md +++ b/README.md @@ -60,11 +60,11 @@ Prebuilt binaries for Linux, macOS and Windows are on the [Releases](https://git ```bash docker run --rm -e CODEREVIEW_MODEL -e ANTHROPIC_API_KEY -e GITHUB_TOKEN \ - ghcr.io/divmora/code-review-bot:0.5.0 review https://github.com/org/repo/pull/123 + ghcr.io/divmora/code-review-bot:0.6.0 review https://github.com/org/repo/pull/123 # local changes: mount the repository at /workspace docker run --rm -v "$PWD:/workspace" -e CODEREVIEW_MODEL -e ANTHROPIC_API_KEY \ - ghcr.io/divmora/code-review-bot:0.5.0 review --local + ghcr.io/divmora/code-review-bot:0.6.0 review --local ``` @@ -124,7 +124,7 @@ Every response is also parsed leniently (fenced or prose-wrapped JSON), so weake ```yaml -- uses: divmora/code-review-bot@v0.5.0 +- uses: divmora/code-review-bot@v0.6.0 with: model: anthropic:claude-sonnet-5-5 fail-on: critical # optional gate diff --git a/docs/index.html b/docs/index.html index deeda4e..f5f3a43 100644 --- a/docs/index.html +++ b/docs/index.html @@ -330,11 +330,11 @@

Review a pull request in a minute

codereview ask https://github.com/org/repo/pull/123 "Is the retry loop safe?"
Docker
# the image's entrypoint is the codereview binary
 docker run --rm -e CODEREVIEW_MODEL -e ANTHROPIC_API_KEY -e GITHUB_TOKEN \
-  ghcr.io/divmora/code-review-bot:0.5.0 review https://github.com/org/repo/pull/123
+  ghcr.io/divmora/code-review-bot:0.6.0 review https://github.com/org/repo/pull/123
 
 # review local changes: mount the repository at /workspace
 docker run --rm -v "$PWD:/workspace" -e CODEREVIEW_MODEL -e ANTHROPIC_API_KEY \
-  ghcr.io/divmora/code-review-bot:0.5.0 review --local
+ ghcr.io/divmora/code-review-bot:0.6.0 review --local @@ -360,7 +360,7 @@

Review every push, with no server

if: ${{ !github.event.pull_request.head.repo.fork }} runs-on: ubuntu-latest steps: - - uses: divmora/code-review-bot@v0.5.0 + - uses: divmora/code-review-bot@v0.6.0 with: model: anthropic:claude-sonnet-5-5 # fail-on: critical @@ -369,7 +369,7 @@

Review every push, with no server