2 Commits
Author SHA1 Message Date
renovate-bot Bot aa79876e94 chore(deps): update module go.yaml.in/yaml/v3 to v4
CI / Checks (pull_request) Successful in 35s
PR title / Conventional title (pull_request) Successful in 1s
2026-11-12 10:26:49 +01:00
keb 3d23c47f66 chore: list Renovate's security updates in the changelog (#97)
Renovate's dependency updates for a vulnerability (`[security]` in the title) now get a Security section in the changelog and release notes, so a release with only a security fix has notes and isn't refused by `release.sh`.

The next release regenerates CHANGELOG.md, so the earlier security updates (#42, #46, #47, #48, #94) show up under their releases there too.

Reviewed-on: #97
Co-authored-by: Karl-Einar Bergstrøm <karl-einarb@outlook.com>
2026-11-12 10:26:12 +01:00
10 changed files with 17 additions and 10 deletions

No files matched your search

+5 -3
View File
@@ -1,8 +1,9 @@
# git-cliff (https://git-cliff.org) builds CHANGELOG.md and the release # git-cliff (https://git-cliff.org) builds CHANGELOG.md and the release
# notes from the commits on main. Pull requests are squash-merged, so each # notes from the commits on main. Pull requests are squash-merged, so each
# one is a single commit whose message is the PR title: a conventional one # one is a single commit whose message is the PR title: a conventional one
# (feat: …, fix: …, perf: …) puts it in the changelog, anything else # (feat: …, fix: …, perf: …) puts it in the changelog, and so does a
# (chore, ci, docs, refactor, test, …) leaves it out. # dependency update Renovate marks [security]; anything else (chore, ci,
# docs, refactor, test, …) leaves it out.
# #
# git cliff --unreleased # what the next release would say # git cliff --unreleased # what the next release would say
@@ -24,7 +25,7 @@ Hello world 👋
{% for group, commits in commits | group_by(attribute="group") %} {% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim }} ### {{ group | striptags | trim }}
{% for commit in commits %} {% for commit in commits %}
- {% if commit.breaking %}**Breaking:** {% endif %}{{ commit.message | split(pat="\n") | first | upper_first | trim }} \ - {% if commit.breaking %}**Breaking:** {% endif %}{{ commit.message | split(pat="\n") | first | replace(from=" [security]", to="") | upper_first | trim }} \
([{{ commit.id | truncate(length=7, end="") }}](https://git.kebcloud.no/keb/lazysecrets/commit/{{ commit.id }}))\ ([{{ commit.id | truncate(length=7, end="") }}](https://git.kebcloud.no/keb/lazysecrets/commit/{{ commit.id }}))\
{% endfor %} {% endfor %}
{% endfor %}\n {% endfor %}\n
@@ -65,5 +66,6 @@ commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->Added" }, { message = "^feat", group = "<!-- 0 -->Added" },
{ message = "^perf", group = "<!-- 1 -->Changed" }, { message = "^perf", group = "<!-- 1 -->Changed" },
{ message = "^fix", group = "<!-- 2 -->Fixed" }, { message = "^fix", group = "<!-- 2 -->Fixed" },
{ message = "\\[security\\]", group = "<!-- 3 -->Security" },
{ message = ".*", skip = true }, { message = ".*", skip = true },
] ]
+3
View File
@@ -35,6 +35,9 @@ subject, checked by `pr-title.yml`:
| `fix` | a bug fix | Fixed | | `fix` | a bug fix | Fixed |
| `refactor`, `docs`, `test`, `ci`, `chore`, `build`, `style`, `revert` | everything users don't need to hear about | no | | `refactor`, `docs`, `test`, `ci`, `chore`, `build`, `style`, `revert` | everything users don't need to hear about | no |
Renovate's dependency updates for a vulnerability (`[security]` in the
title) are listed under Security.
`feat!:` marks a breaking change, `feat(scope):` names a part. `feat!:` marks a breaking change, `feat(scope):` names a part.
`[skip changelog]` in the description leaves a pull request out. `[skip changelog]` in the description leaves a pull request out.
+1 -1
View File
@@ -20,7 +20,7 @@ require (
github.com/charmbracelet/x/exp/golden v0.0.0-20251109135125-8916d276318f github.com/charmbracelet/x/exp/golden v0.0.0-20251109135125-8916d276318f
github.com/databricks/databricks-sdk-go v0.195.0 github.com/databricks/databricks-sdk-go v0.195.0
github.com/junegunn/fzf v0.74.5 github.com/junegunn/fzf v0.74.5
go.yaml.in/yaml/v3 v3.0.6 go.yaml.in/yaml/v4 v4.0.0
golang.org/x/mod v0.42.0 golang.org/x/mod v0.42.0
golang.org/x/term v0.48.0 golang.org/x/term v0.48.0
gopkg.in/ini.v1 v1.67.3 gopkg.in/ini.v1 v1.67.3
+2
View File
@@ -151,6 +151,8 @@ go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/
go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE=
go.yaml.in/yaml/v3 v3.0.6 h1:zcDfvjXEqTQmpjniUBLc91xYJMB2c4QOFxEF/LCEckM= go.yaml.in/yaml/v3 v3.0.6 h1:zcDfvjXEqTQmpjniUBLc91xYJMB2c4QOFxEF/LCEckM=
go.yaml.in/yaml/v3 v3.0.6/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= go.yaml.in/yaml/v3 v3.0.6/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg=
go.yaml.in/yaml/v4 v4.0.0 h1:/LG1pNO84Z4l603j/xMn69CcS5OYhMQ/f7l2LoQUGuw=
go.yaml.in/yaml/v4 v4.0.0/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0=
golang.org/x/crypto v0.59.0 h1:xS2jhqYbzNrpvkWP2YTDf4TJwBy3ykR03i8vFDxEc7c= golang.org/x/crypto v0.59.0 h1:xS2jhqYbzNrpvkWP2YTDf4TJwBy3ykR03i8vFDxEc7c=
golang.org/x/crypto v0.59.0/go.mod h1:veDyUwATGs3c+vN3VfTbzViMGXeTBk3WyhBOkn+F/4U= golang.org/x/crypto v0.59.0/go.mod h1:veDyUwATGs3c+vN3VfTbzViMGXeTBk3WyhBOkn+F/4U=
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 h1:LfspQV/FYTatPTr/3HzIcmiUFH7PGP+OQ6mgDYo3yuQ= golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 h1:LfspQV/FYTatPTr/3HzIcmiUFH7PGP+OQ6mgDYo3yuQ=
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"strings" "strings"
"time" "time"
"go.yaml.in/yaml/v3" "go.yaml.in/yaml/v4"
"git.kebcloud.no/keb/lazysecrets/internal/commands" "git.kebcloud.no/keb/lazysecrets/internal/commands"
"git.kebcloud.no/keb/lazysecrets/internal/provider/repo" "git.kebcloud.no/keb/lazysecrets/internal/provider/repo"
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"regexp" "regexp"
"strings" "strings"
"go.yaml.in/yaml/v3" "go.yaml.in/yaml/v4"
) )
// Docker Compose files: compose.yaml, docker-compose.yml and their // Docker Compose files: compose.yaml, docker-compose.yml and their
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"regexp" "regexp"
"strings" "strings"
"go.yaml.in/yaml/v3" "go.yaml.in/yaml/v4"
) )
// .NET config files: appsettings.json and appsettings.<Environment>.json. // .NET config files: appsettings.json and appsettings.<Environment>.json.
+1 -1
View File
@@ -30,7 +30,7 @@ import (
"sync" "sync"
"time" "time"
"go.yaml.in/yaml/v3" "go.yaml.in/yaml/v4"
"git.kebcloud.no/keb/lazysecrets/internal/jasypt" "git.kebcloud.no/keb/lazysecrets/internal/jasypt"
"git.kebcloud.no/keb/lazysecrets/internal/provider" "git.kebcloud.no/keb/lazysecrets/internal/provider"
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"strings" "strings"
"unicode" "unicode"
"go.yaml.in/yaml/v3" "go.yaml.in/yaml/v4"
) )
// Spring Boot config files: application*.properties/.yml and bootstrap*, // Spring Boot config files: application*.properties/.yml and bootstrap*,
+1 -1
View File
@@ -55,7 +55,7 @@ echo "$tag$bumped"
notes=$(git cliff --unreleased --tag "$tag" --strip all) notes=$(git cliff --unreleased --tag "$tag" --strip all)
if ! grep -q '^- ' <<<"$notes"; then if ! grep -q '^- ' <<<"$notes"; then
echo "Nothing for the changelog since the last release (no feat/fix/perf pull requests)." >&2 echo "Nothing for the changelog since the last release (no feat/fix/perf or [security] pull requests)." >&2
$dry || exit 1 $dry || exit 1
fi fi
echo "$notes" echo "$notes"