From 75ee7c13f89591fa8570ccae97fdefaa2d7158f9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Dec 2025 00:10:14 +0000 Subject: [PATCH] Bump github.com/cli/go-gh/v2 from 2.12.2 to 2.13.0 Bumps [github.com/cli/go-gh/v2](https://github.com/cli/go-gh) from 2.12.2 to 2.13.0. - [Release notes](https://github.com/cli/go-gh/releases) - [Commits](https://github.com/cli/go-gh/compare/v2.12.2...v2.13.0) --- updated-dependencies: - dependency-name: github.com/cli/go-gh/v2 dependency-version: 2.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 4 +- go.sum | 4 +- vendor/github.com/cli/go-gh/v2/.golangci.yml | 49 ++++++++++++++++---- vendor/github.com/cli/go-gh/v2/gh.go | 2 +- vendor/modules.txt | 4 +- 5 files changed, 48 insertions(+), 15 deletions(-) diff --git a/go.mod b/go.mod index 10160b6..6620688 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/mantzas/gh-orgsync -go 1.24.2 +go 1.25.0 -require github.com/cli/go-gh/v2 v2.12.2 +require github.com/cli/go-gh/v2 v2.13.0 require ( github.com/cli/safeexec v1.0.1 // indirect diff --git a/go.sum b/go.sum index d024f29..98b1061 100644 --- a/go.sum +++ b/go.sum @@ -10,8 +10,8 @@ github.com/charmbracelet/x/cellbuf v0.0.13 h1:/KBBKHuVRbq1lYx5BzEHBAFBP8VcQzJejZ github.com/charmbracelet/x/cellbuf v0.0.13/go.mod h1:xe0nKWGd3eJgtqZRaN9RjMtK7xUYchjzPr7q6kcvCCs= github.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQaGIAQ= github.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg= -github.com/cli/go-gh/v2 v2.12.2 h1:EtocmDAH7dKrH2PscQOQVo7PbFD5G6uYx4rSKY2w1SY= -github.com/cli/go-gh/v2 v2.12.2/go.mod h1:g2IjwHEo27fgItlS9wUbRaXPYurZEXPp1jrxf3piC6g= +github.com/cli/go-gh/v2 v2.13.0 h1:jEHZu/VPVoIJkciK3pzZd3rbT8J90swsK5Ui4ewH1ys= +github.com/cli/go-gh/v2 v2.13.0/go.mod h1:Us/NbQ8VNM0fdaILgoXSz6PKkV5PWaEzkJdc9vR2geM= github.com/cli/safeexec v1.0.1 h1:e/C79PbXF4yYTN/wauC4tviMxEV13BwljGj0N9j+N00= github.com/cli/safeexec v1.0.1/go.mod h1:Z/D4tTN8Vs5gXYHDCbaM1S/anmEDnJb1iW0+EJ5zx3Q= github.com/cli/shurcooL-graphql v0.0.4 h1:6MogPnQJLjKkaXPyGqPRXOI2qCsQdqNfUY1QSJu2GuY= diff --git a/vendor/github.com/cli/go-gh/v2/.golangci.yml b/vendor/github.com/cli/go-gh/v2/.golangci.yml index 2d5cc27..a528b06 100644 --- a/vendor/github.com/cli/go-gh/v2/.golangci.yml +++ b/vendor/github.com/cli/go-gh/v2/.golangci.yml @@ -1,11 +1,44 @@ +version: "2" linters: enable: - - gofmt - - godot + - godot + settings: + staticcheck: + # Here, some checks are disabled (note the leading minus sign). + checks: + - all + # These are disabled by the linter's default. We need to repeat them here + # since we're overriding to disable more checks. + - -ST1000 + - -ST1003 + - -ST1016 + - -ST1020 + - -ST1021 + - -ST1022 -linters-settings: - godot: - # comments to be checked: `declarations`, `toplevel`, or `all` - scope: declarations - # check that each sentence starts with a capital letter - capital: true + # This check is to enforce "omitting embedded fields from selector + # expression". For example, `m.Kind` in favour of `m.Node.Kind` (where + # `Node` is an embedded struct field of `m`) + # + # Disabled to keep the current explicit style. + - -QF1008 + godot: + # comments to be checked: `declarations`, `toplevel`, or `all` + scope: declarations + # check that each sentence starts with a capital letter + capital: true + exclusions: + generated: lax + presets: + - comments + - common-false-positives + - legacy + - std-error-handling +formatters: + enable: + - gofmt + exclusions: + generated: lax +issues: + max-issues-per-linter: 0 + max-same-issues: 0 diff --git a/vendor/github.com/cli/go-gh/v2/gh.go b/vendor/github.com/cli/go-gh/v2/gh.go index b176780..425eaef 100644 --- a/vendor/github.com/cli/go-gh/v2/gh.go +++ b/vendor/github.com/cli/go-gh/v2/gh.go @@ -36,7 +36,7 @@ func ExecContext(ctx context.Context, args ...string) (stdout, stderr bytes.Buff return } -// Exec invokes a gh command in a subprocess with its stdin, stdout, and stderr streams connected to +// ExecInteractive invokes a gh command in a subprocess with its stdin, stdout, and stderr streams connected to // those of the parent process. This is suitable for running gh commands with interactive prompts. func ExecInteractive(ctx context.Context, args ...string) error { ghExe, err := Path() diff --git a/vendor/modules.txt b/vendor/modules.txt index 304cdbc..057e2c8 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,5 +1,5 @@ -# github.com/cli/go-gh/v2 v2.12.2 -## explicit; go 1.23.0 +# github.com/cli/go-gh/v2 v2.13.0 +## explicit; go 1.25.0 github.com/cli/go-gh/v2 # github.com/cli/safeexec v1.0.1 ## explicit; go 1.15