diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml index 11003adc7..460ed9330 100644 --- a/.github/workflows/lint-pr.yml +++ b/.github/workflows/lint-pr.yml @@ -15,7 +15,7 @@ jobs: name: Validate PR title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@e49f57ce06c1747542fce2243c7a98682384bc0e + - uses: amannn/action-semantic-pull-request@069817c298f23fab00a8f29a2e556a5eac0f6390 with: types: | build diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 93a8bb735..e9bf6ce3f 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -22,7 +22,7 @@ jobs: persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@b49dc9e8821aa6e5df06b85779f66761402a1787 + uses: astral-sh/setup-uv@486d0b887200c1d9bb3a30439404f78461090c4f - name: Run zizmor 🌈 run: uvx zizmor --format sarif . > results.sarif diff --git a/go.mod b/go.mod index 4da1e8ef9..9f7b165a5 100644 --- a/go.mod +++ b/go.mod @@ -9,8 +9,8 @@ require ( github.com/spf13/cobra v1.10.1 github.com/zekroTJA/timedmap/v2 v2.0.0 golang.org/x/sys v0.38.0 - golang.org/x/term v0.36.0 - golang.org/x/text v0.30.0 + golang.org/x/term v0.37.0 + golang.org/x/text v0.31.0 gopkg.in/natefinch/lumberjack.v2 v2.2.1 ) diff --git a/go.sum b/go.sum index bfb7db3fe..35d2ab59a 100644 --- a/go.sum +++ b/go.sum @@ -29,8 +29,12 @@ golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc= golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/term v0.36.0 h1:zMPR+aF8gfksFprF/Nc/rd1wRS1EI6nDBGyWAvDzx2Q= golang.org/x/term v0.36.0/go.mod h1:Qu394IJq6V6dCBRgwqshf3mPF85AqzYEzofzRdZkWss= +golang.org/x/term v0.37.0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU= +golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254= golang.org/x/text v0.30.0 h1:yznKA/E9zq54KzlzBEAWn1NXSQ8DIp/NYMy88xJjl4k= golang.org/x/text v0.30.0/go.mod h1:yDdHFIX9t+tORqspjENWgzaCVXgk0yYnYuSZ8UzzBVM= +golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM= +golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc= gopkg.in/natefinch/lumberjack.v2 v2.2.1/go.mod h1:YD8tP3GAjkrDg1eZH7EGmyESg/lsYskCTPBJVb9jqSc= diff --git a/mcp/go.mod b/mcp/go.mod index 8b77f5e02..212fad0b2 100644 --- a/mcp/go.mod +++ b/mcp/go.mod @@ -7,7 +7,7 @@ replace github.com/netapp/harvest/v2 => ../ require ( github.com/goccy/go-yaml v1.18.0 github.com/modelcontextprotocol/go-sdk v1.1.0 - github.com/netapp/harvest/v2 v2.0.0-20251106124425-91a28125a7a8 + github.com/netapp/harvest/v2 v2.0.0-20251113125552-3cc476528748 github.com/spf13/cobra v1.10.1 ) diff --git a/mcp/vendor/modules.txt b/mcp/vendor/modules.txt index 490972fbc..e5cc5322b 100644 --- a/mcp/vendor/modules.txt +++ b/mcp/vendor/modules.txt @@ -23,7 +23,7 @@ github.com/modelcontextprotocol/go-sdk/internal/util github.com/modelcontextprotocol/go-sdk/internal/xcontext github.com/modelcontextprotocol/go-sdk/jsonrpc github.com/modelcontextprotocol/go-sdk/mcp -# github.com/netapp/harvest/v2 v2.0.0-20251106124425-91a28125a7a8 => ../ +# github.com/netapp/harvest/v2 v2.0.0-20251113125552-3cc476528748 => ../ ## explicit; go 1.24.0 github.com/netapp/harvest/v2/pkg/slogx # github.com/spf13/cobra v1.10.1 diff --git a/vendor/golang.org/x/term/terminal.go b/vendor/golang.org/x/term/terminal.go index bddb2e2ae..9255449b9 100644 --- a/vendor/golang.org/x/term/terminal.go +++ b/vendor/golang.org/x/term/terminal.go @@ -413,7 +413,7 @@ func (t *Terminal) eraseNPreviousChars(n int) { } } -// countToLeftWord returns then number of characters from the cursor to the +// countToLeftWord returns the number of characters from the cursor to the // start of the previous word. func (t *Terminal) countToLeftWord() int { if t.pos == 0 { @@ -438,7 +438,7 @@ func (t *Terminal) countToLeftWord() int { return t.pos - pos } -// countToRightWord returns then number of characters from the cursor to the +// countToRightWord returns the number of characters from the cursor to the // start of the next word. func (t *Terminal) countToRightWord() int { pos := t.pos @@ -478,7 +478,7 @@ func visualLength(runes []rune) int { return length } -// histroryAt unlocks the terminal and relocks it while calling History.At. +// historyAt unlocks the terminal and relocks it while calling History.At. func (t *Terminal) historyAt(idx int) (string, bool) { t.lock.Unlock() // Unlock to avoid deadlock if History methods use the output writer. defer t.lock.Lock() // panic in At (or Len) protection. diff --git a/vendor/modules.txt b/vendor/modules.txt index 0af495ba0..fc73d2cff 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -37,10 +37,10 @@ github.com/zekroTJA/timedmap/v2 golang.org/x/sys/plan9 golang.org/x/sys/unix golang.org/x/sys/windows -# golang.org/x/term v0.36.0 +# golang.org/x/term v0.37.0 ## explicit; go 1.24.0 golang.org/x/term -# golang.org/x/text v0.30.0 +# golang.org/x/text v0.31.0 ## explicit; go 1.24.0 golang.org/x/text/cases golang.org/x/text/internal