5 Commits
Author SHA1 Message Date
keb 6bdc5a3c49 chore: list Renovate's security updates in the changelog
CI / Checks (pull_request) Successful in 40s
PR title / Conventional title (pull_request) Successful in 1s
2026-11-04 13:34:16 +01:00
renovate-bot Bot 32c655fb99 chore(deps): update non-major (#96)
Co-authored-by: Renovate Bot <renovate-bot@noreply.git.kebcloud.no>
2026-11-02 01:19:01 +01:00
keb 84b2761d80 chore(release): v0.4.2
Release / Build and publish (push) Successful in 58s
2026-10-28 13:19:31 +01:00
keb 99e6b7bcd8 feat: a link brings back the lazysecrets nvim hid; Azure shows its account (#95)
- In nvim, lazysecrets asks lazysecrets.nvim whether its window is
  shown: a hidden one is brought back for a link, unless nvim is busy
  (typing, a command, a picker, mid-operator), when the link opens
  elsewhere. Without an answer (an older plugin), nothing changes.
- The Azure group is named for its account, Azure · alice, also with
  a single account; its ID, and so stars and cache, stay as they were.

Needs keb/lazysecrets.nvim#6 for the reveal; without it, links behave as before.

Reviewed-on: #95
Co-authored-by: Karl-Einar Bergstrøm <karl-einarb@outlook.com>
2026-10-28 13:18:17 +01:00
renovate-bot Bot 677bba4c4a chore(deps): update module golang.org/x/net to v0.62.0 [security] (#94)
Co-authored-by: Renovate Bot <renovate-bot@noreply.git.kebcloud.no>
2026-10-28 01:19:02 +01:00
13 changed files with 164 additions and 33 deletions

No files matched your search

+6
View File
@@ -2,6 +2,12 @@
Every release of lazysecrets, newest first.
## v0.4.2 – 2026-10-28
### Added
- A link brings back the lazysecrets nvim hid; Azure shows its account ([#95](https://git.kebcloud.no/keb/lazysecrets/pulls/95)) ([99e6b7b](https://git.kebcloud.no/keb/lazysecrets/commit/99e6b7bcd84dab670427f38fa58e36c6dd5cd02a))
## v0.4.1 – 2026-10-27
### Fixed
+5 -3
View File
@@ -1,8 +1,9 @@
# 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
# one is a single commit whose message is the PR title: a conventional one
# (feat: …, fix: …, perf: …) puts it in the changelog, anything else
# (chore, ci, docs, refactor, test, …) leaves it out.
# (feat: …, fix: …, perf: …) puts it in the changelog, and so does a
# dependency update Renovate marks [security]; anything else (chore, ci,
# docs, refactor, test, …) leaves it out.
#
# git cliff --unreleased # what the next release would say
@@ -24,7 +25,7 @@ Hello world 👋
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim }}
{% 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 }}))\
{% endfor %}
{% endfor %}\n
@@ -65,5 +66,6 @@ commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->Added" },
{ message = "^perf", group = "<!-- 1 -->Changed" },
{ message = "^fix", group = "<!-- 2 -->Fixed" },
{ message = "\\[security\\]", group = "<!-- 3 -->Security" },
{ message = ".*", skip = true },
]
+3 -2
View File
@@ -5,8 +5,9 @@ it reuses it.
## Accounts
Every account signed in to az gets its own group in the Sources pane
(`az login` again with another account to add one), and each account's
Every account signed in to az gets its own group in the Sources pane,
named for it, `Azure · alice` (`az login` again with another account to
add one), and each account's
vaults are read with that account. A subscription several accounts can see
is listed under each, since their permissions can differ.
+3
View File
@@ -35,6 +35,9 @@ subject, checked by `pr-title.yml`:
| `fix` | a bug fix | Fixed |
| `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.
`[skip changelog]` in the description leaves a pull request out.
+5
View File
@@ -177,6 +177,11 @@ linkHandler:
a hidden dropdown terminal (kitty's quick access terminal) is shown.
With none running, a new window opens.
- **Hidden in nvim** ([lazysecrets.nvim](https://github.com/karleinarb/lazysecrets.nvim)
hides it when you leave its window): it's brought back, unless nvim is
in the middle of something a window popping up would break (typing, a
command, a picker); then it counts as not running.
The link is then offered as if pasted. `linkHandler.reuse: false` always
opens a new window.
+7 -7
View File
@@ -4,7 +4,7 @@ go 1.27.3
require (
charm.land/bubbles/v2 v2.2.1
charm.land/bubbletea/v2 v2.1.0
charm.land/bubbletea/v2 v2.1.1
charm.land/lipgloss/v2 v2.0.6
filippo.io/age v1.3.2
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.3
@@ -14,11 +14,11 @@ require (
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions/v2 v2.0.0
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azcertificates v1.5.0
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.5.0
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azsecrets v1.5.0
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azsecrets v1.5.1
github.com/atotto/clipboard v0.1.4
github.com/charmbracelet/x/ansi v0.11.9
github.com/charmbracelet/x/exp/golden v0.0.0-20251109135125-8916d276318f
github.com/databricks/databricks-sdk-go v0.190.0
github.com/databricks/databricks-sdk-go v0.191.1
github.com/junegunn/fzf v0.74.5
go.yaml.in/yaml/v3 v3.0.5
golang.org/x/mod v0.42.0
@@ -66,13 +66,13 @@ require (
go.opentelemetry.io/otel v1.44.0 // indirect
go.opentelemetry.io/otel/metric v1.44.0 // indirect
go.opentelemetry.io/otel/trace v1.44.0 // indirect
golang.org/x/crypto v0.57.0 // indirect
golang.org/x/crypto v0.58.0 // indirect
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect
golang.org/x/net v0.60.0 // indirect
golang.org/x/net v0.62.0 // indirect
golang.org/x/oauth2 v0.36.0 // indirect
golang.org/x/sync v0.23.0 // indirect
golang.org/x/sync v0.24.0 // indirect
golang.org/x/sys v0.49.0 // indirect
golang.org/x/text v0.42.0 // indirect
golang.org/x/text v0.43.0 // indirect
golang.org/x/time v0.14.0 // indirect
google.golang.org/api v0.264.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa // indirect
+14 -14
View File
@@ -2,8 +2,8 @@ c2sp.org/CCTV/age v0.0.0-20260829155415-4448f2097b2d h1:Blprhc2SbChNZtWcU+BLTM4Y
c2sp.org/CCTV/age v0.0.0-20260829155415-4448f2097b2d/go.mod h1:SrHC2C7r5GkDk8R+NFVzYy/sdj0Ypg9htaPXQq5Cqeo=
charm.land/bubbles/v2 v2.2.1 h1:Fq1+qm5hV6GkvzLQDhCBpXXE5tLgvh1PRriCLwSvIQU=
charm.land/bubbles/v2 v2.2.1/go.mod h1:wdMgn+sje1KNXdwFizIWjbf328fIUBxqEmJ/vYPo8yc=
charm.land/bubbletea/v2 v2.1.0 h1:A9fj9h5LFrvQhQHFNggp8K8rvY6CUfgn9dMbb6p2HIw=
charm.land/bubbletea/v2 v2.1.0/go.mod h1:xWHeyxIX9/wiFU2kgPW04ojOZyTzrWf+8lGjUCaftiU=
charm.land/bubbletea/v2 v2.1.1 h1:S1S9l37pCZGrj1JexBcr9x4Nr3MVeM42InqCYM/tDpU=
charm.land/bubbletea/v2 v2.1.1/go.mod h1:xWHeyxIX9/wiFU2kgPW04ojOZyTzrWf+8lGjUCaftiU=
charm.land/lipgloss/v2 v2.0.6 h1:EaGKeuA8FvF+v2BT5VmZd2LoYLaMZJXA5n34th8nCIQ=
charm.land/lipgloss/v2 v2.0.6/go.mod h1:ipDDJNSGa1hlwDtSfW1s2/xR8Vdhbut4PXh2zEKZd0Q=
cloud.google.com/go/auth v0.18.2 h1:+Nbt5Ev0xEqxlNjd6c+yYUeosQ5TtEUaNcN/3FozlaM=
@@ -40,8 +40,8 @@ github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azcertificates v1.5.0 h1
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azcertificates v1.5.0/go.mod h1:0AAf/fHAqhIsvD6XGKlCsDO8u+cCiYBBuro+lWS6os4=
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.5.0 h1:MaKvxE6D0KkjOg6Wd9M00iqP5PR0kUxCfiezes4JweM=
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.5.0/go.mod h1:i2h9fsTFKZorh8RdV2IcSUf/Qj98GlTkrTvUbX/s8as=
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azsecrets v1.5.0 h1:aMFOzch6ZJo4Ct9hI4A9Y2fPen5YNRTPmkSBhe5m0ZQ=
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azsecrets v1.5.0/go.mod h1:Oct8bx+g+DXKngU7i/LzFzYt44rmLdMu4uoofIpooVo=
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azsecrets v1.5.1 h1:f4X/okTwHAfzJamPo8hyStXinb4sCTK36gMZj+KLQdw=
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azsecrets v1.5.1/go.mod h1:sEd11NnHY3lizFx/zf5u7x5qNjhF0t5VZM0irRHKXVU=
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0 h1:nCYfgcSyHZXJI8J0IWE5MsCGlb2xp9fJiXyxWgmOFg4=
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0/go.mod h1:ucUjca2JtSZboY8IoUqyQyuuXvwbMBVwFOm0vdQPNhA=
github.com/AzureAD/microsoft-authentication-extensions-for-go/cache v0.1.1 h1:WJTmL004Abzc5wDB5VtZG2PJk5ndYDgVacGqfirKxjM=
@@ -72,8 +72,8 @@ github.com/clipperhouse/displaywidth v0.11.0 h1:lBc6kY44VFw+TDx4I8opi/EtL9m20WSE
github.com/clipperhouse/displaywidth v0.11.0/go.mod h1:bkrFNkf81G8HyVqmKGxsPufD3JhNl3dSqnGhOoSD/o0=
github.com/clipperhouse/uax29/v2 v2.7.0 h1:+gs4oBZ2gPfVrKPthwbMzWZDaAFPGYK72F0NJv2v7Vk=
github.com/clipperhouse/uax29/v2 v2.7.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM=
github.com/databricks/databricks-sdk-go v0.190.0 h1:kU2Bq0RGZInRYk35JbdX/w5CFDAUoNyikT5Ze1YdURg=
github.com/databricks/databricks-sdk-go v0.190.0/go.mod h1:udBw6nxkaqa0fgPQ7ZW1kGFkltQncYx+qFJeVFmxtz8=
github.com/databricks/databricks-sdk-go v0.191.1 h1:t7aE9PTQEwuPS1CRoVwpDW0jDuDuX9GD53gpRWRmJEE=
github.com/databricks/databricks-sdk-go v0.191.1/go.mod h1:udBw6nxkaqa0fgPQ7ZW1kGFkltQncYx+qFJeVFmxtz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
@@ -151,25 +151,25 @@ 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.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw=
go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg=
golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M=
golang.org/x/crypto v0.57.0/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA=
golang.org/x/crypto v0.58.0 h1:COkYLr4k7nDI4r6QtMML2AfzeIswWHAJthLS6K/M/54=
golang.org/x/crypto v0.58.0/go.mod h1:Xh+kl5A+M0gMiWDytH2Hhr5Z7WbNCpv/eB/EFgfSk+w=
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 h1:LfspQV/FYTatPTr/3HzIcmiUFH7PGP+OQ6mgDYo3yuQ=
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc=
golang.org/x/mod v0.42.0 h1:ICeL3t2L30ljSPHHxDnR4fqVcBt/zR2zJAb9juavmQg=
golang.org/x/mod v0.42.0/go.mod h1:u5fzIrRInkL8MaO1cbRkUHT64v303YIT5KEqpNr7jRs=
golang.org/x/net v0.60.0 h1:79p50tfZlm0J9YfoDsSi639qSXNGVwEzOPLCxM2FsYU=
golang.org/x/net v0.60.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg=
golang.org/x/net v0.62.0 h1:18ELalfM5+XNRwzM2nYqXsZQ9ByS1uhj2O/U7+5jqRY=
golang.org/x/net v0.62.0/go.mod h1:WgDCOTH8iwtB66T4/GfI94AHo/hhdb7Hah9NDseQfiI=
golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs=
golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q=
golang.org/x/sync v0.23.0 h1:KameEIfc1IkluZyXWLn39Wd4tURc6GbCiISGiZm2bQk=
golang.org/x/sync v0.23.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0=
golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA=
golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA=
golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
golang.org/x/term v0.47.0 h1:cpyOwQkr2Nzxe2p6KnrTG7Ei2wtzjsuSjhpXXepZ/BM=
golang.org/x/term v0.47.0/go.mod h1:efAfAuG6RKABvg1ArGebRkvX6LXul14SM67o2e4mUCY=
golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI=
golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E=
golang.org/x/text v0.43.0 h1:1QivrlhwAsnMOcqgOdl9my7s9OyZl8O5/UGUTJVXoWc=
golang.org/x/text v0.43.0/go.mod h1:hbSIYA/amXcRXTFSZqh8tWHEoqRvvbKPJ2uz/KU+a+s=
golang.org/x/time v0.14.0 h1:MRx4UaLrDotUKUdCIqzPC48t1Y9hANFKIRpNx+Te8PI=
golang.org/x/time v0.14.0/go.mod h1:eL/Oa2bBBK0TkX57Fyni+NgnyQQN4LitPmob2Hjnqw4=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+3
View File
@@ -123,6 +123,9 @@ func (s *Server) handle(c net.Conn) {
switch req.Op {
case "status":
_, app, reach := place(req.Front)
if nvimState(context.Background()) == "busy" {
reach = unreachable // a link would interrupt you: it opens elsewhere
}
s.mu.Lock()
resp.Status = Status{PID: os.Getpid(), LastActive: s.active, Reach: reach, App: app}
s.mu.Unlock()
+46
View File
@@ -0,0 +1,46 @@
package instance
import (
"context"
"fmt"
"os"
"os/exec"
"strings"
"time"
)
// In nvim (lazysecrets.nvim), the tmux pane can be in view while
// lazysecrets isn't: the plugin hides its window when you leave it. The
// plugin says (state) and brings it back (reveal), when nvim isn't in the
// middle of something a window popping up would break.
// nvimState is what lazysecrets.nvim says of this lazysecrets: "shown",
// "hidden" (and can be brought back), "busy", or "" outside nvim, or with
// no answer (an older plugin, a plain :terminal): reach as before.
func nvimState(ctx context.Context) string {
switch s := nvim(ctx, "state"); s {
case "shown", "hidden", "busy":
return s
}
return ""
}
// nvimReveal brings this lazysecrets' window back, if the plugin hid it.
func nvimReveal(ctx context.Context) { nvim(ctx, "reveal") }
// nvim calls the plugin's fn with this process' pid, in the nvim that
// started it ($NVIM), and returns what it says.
func nvim(ctx context.Context, fn string) string {
addr := os.Getenv("NVIM")
if addr == "" {
return ""
}
ctx, cancel := context.WithTimeout(ctx, 500*time.Millisecond) // within the link handler's second; a stuck nvim is skipped
defer cancel()
expr := fmt.Sprintf(`luaeval("require('lazysecrets').%s(%d)")`, fn, os.Getpid())
out, err := exec.CommandContext(ctx, "nvim", "--server", addr, "--remote-expr", expr).Output()
if err != nil {
return ""
}
return strings.TrimSpace(string(out))
}
+64
View File
@@ -0,0 +1,64 @@
package instance
import (
"context"
"os"
"os/exec"
"path/filepath"
"strconv"
"testing"
"time"
)
// With a stand-in lazysecrets.nvim in a headless nvim: what it says comes
// back, for this process' pid, and an older plugin's error is "".
func TestNvim(t *testing.T) {
if _, err := exec.LookPath("nvim"); err != nil {
t.Skip("needs nvim")
}
dir := t.TempDir()
lua := filepath.Join(dir, "lua")
os.MkdirAll(lua, 0o755)
pid := strconv.Itoa(os.Getpid())
os.WriteFile(filepath.Join(lua, "lazysecrets.lua"), []byte(`
local M = {}
function M.state(pid) return pid == `+pid+` and vim.g.state or "none" end
function M.reveal(pid) vim.g.revealed = pid; return true end
return M
`), 0o644)
sock := filepath.Join(dir, "nvim.sock")
nv := exec.Command("nvim", "--headless", "--clean", "--listen", sock, "--cmd", "set rtp^="+dir, "--cmd", "let g:state = 'hidden'")
if err := nv.Start(); err != nil {
t.Fatal(err)
}
t.Cleanup(func() { nv.Process.Kill(); nv.Wait() })
for i := 0; i < 50; i++ {
if _, err := os.Stat(sock); err == nil {
break
}
time.Sleep(50 * time.Millisecond)
}
t.Setenv("NVIM", sock)
ctx := context.Background()
if s := nvimState(ctx); s != "hidden" {
t.Errorf("state %q", s)
}
nvimReveal(ctx)
if got := nvim(ctx, "state"); got != "hidden" {
t.Errorf("after reveal: %q", got)
}
out, _ := exec.Command("nvim", "--server", sock, "--remote-expr", "g:revealed").Output()
if string(out) != pid {
t.Errorf("revealed %q, want this pid %s", out, pid)
}
if got := nvim(ctx, "missing"); got != "" { // an older plugin
t.Errorf("a function the plugin lacks: %q", got)
}
t.Setenv("NVIM", "")
if s := nvimState(ctx); s != "" {
t.Errorf("outside nvim: %q", s)
}
}
+2
View File
@@ -2,6 +2,7 @@ package instance
import (
"cmp"
"context"
"os"
"os/exec"
"slices"
@@ -101,6 +102,7 @@ func Raise(front string) {
if reach == unreachable {
return
}
nvimReveal(context.Background())
if inTmux() {
pane := os.Getenv("TMUX_PANE")
_, _ = tmux("select-window", "-t", pane)
+5 -6
View File
@@ -181,10 +181,9 @@ func NewAccounts(s Settings) ([]*Provider, error) {
if i > 0 {
settings.Vaults = nil
}
label := ""
if len(accounts) > 1 {
label = string(provider.KindAzure) + " · " + labels[i]
}
// Named for its account, also when it's the only one: which
// account lazysecrets sees Azure through is worth seeing.
label := string(provider.KindAzure) + " · " + labels[i]
cred := authCredential{
cred: newCLICredential(a.user, a.tenant, func() ([]account, error) { return readAccounts(path) }),
login: []string{"az", "login", "--tenant", a.tenant},
@@ -195,9 +194,9 @@ func NewAccounts(s Settings) ([]*Provider, error) {
return nil, err
}
p.account = &accountDetails{account: a, claims: cred.cred.(*cliCredential).claims}
if label != "" {
p.label = label
if len(accounts) > 1 { // one keeps the plain ID its stars and cache are under
p.id = string(provider.KindAzure) + ":" + a.user + "/" + a.tenant
p.label = label
}
out = append(out, p)
}
+1 -1
View File
@@ -55,7 +55,7 @@ echo "$tag$bumped"
notes=$(git cliff --unreleased --tag "$tag" --strip all)
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
fi
echo "$notes"