Skip to content

fix(deps): update module github.com/google/go-github/v65 to v68 #14953

fix(deps): update module github.com/google/go-github/v65 to v68

fix(deps): update module github.com/google/go-github/v65 to v68 #14953

GitHub Actions / golangci failed Dec 23, 2024 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (10)

compiler/native/expand.go|396 col 33| string golang has 3 occurrences, make it a constant (goconst)
compiler/native/compile_test.go|2250 col 13| SA1019: github.String is deprecated: use Ptr instead. (staticcheck)
compiler/native/compile_test.go|2251 col 13| SA1019: github.String is deprecated: use Ptr instead. (staticcheck)
scm/github/app_permissions.go|62 col 20| SA1019: github.String is deprecated: use Ptr instead. (staticcheck)
scm/github/deployment.go|180 col 21| SA1019: github.Bool is deprecated: use Ptr instead. (staticcheck)
scm/github/repo.go|209 col 11| SA1019: github.Bool is deprecated: use Ptr instead. (staticcheck)
scm/github/repo.go|283 col 11| SA1019: github.Bool is deprecated: use Ptr instead. (staticcheck)
scm/github/github_client_test.go|76 col 9| SA1019: github.Int64 is deprecated: use Ptr instead. (staticcheck)
scm/github/github_client_test.go|90 col 9| SA1019: github.Int64 is deprecated: use Ptr instead. (staticcheck)
scm/github/github_client_test.go|104 col 9| SA1019: github.Int64 is deprecated: use Ptr instead. (staticcheck)

Filtered Findings (0)

Annotations

Check failure on line 396 in compiler/native/expand.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] compiler/native/expand.go#L396

string `golang` has 3 occurrences, make it a constant (goconst)
Raw output
compiler/native/expand.go:396:33: string `golang` has 3 occurrences, make it a constant (goconst)
	case constants.PipelineTypeGo, "golang", "":
	                               ^

Check failure on line 2250 in compiler/native/compile_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] compiler/native/compile_test.go#L2250

SA1019: github.String is deprecated: use Ptr instead. (staticcheck)
Raw output
compiler/native/compile_test.go:2250:13: SA1019: github.String is deprecated: use Ptr instead. (staticcheck)
		Encoding: github.String(""),
		          ^

Check failure on line 2251 in compiler/native/compile_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] compiler/native/compile_test.go#L2251

SA1019: github.String is deprecated: use Ptr instead. (staticcheck)
Raw output
compiler/native/compile_test.go:2251:13: SA1019: github.String is deprecated: use Ptr instead. (staticcheck)
		Content:  github.String(string(body)),
		          ^

Check failure on line 62 in scm/github/app_permissions.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] scm/github/app_permissions.go#L62

SA1019: github.String is deprecated: use Ptr instead. (staticcheck)
Raw output
scm/github/app_permissions.go:62:20: SA1019: github.String is deprecated: use Ptr instead. (staticcheck)
		perms.Contents = github.String(perm)
		                 ^

Check failure on line 180 in scm/github/deployment.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] scm/github/deployment.go#L180

SA1019: github.Bool is deprecated: use Ptr instead. (staticcheck)
Raw output
scm/github/deployment.go:180:21: SA1019: github.Bool is deprecated: use Ptr instead. (staticcheck)
		AutoMerge:        github.Bool(false),
		                  ^

Check failure on line 209 in scm/github/repo.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] scm/github/repo.go#L209

SA1019: github.Bool is deprecated: use Ptr instead. (staticcheck)
Raw output
scm/github/repo.go:209:11: SA1019: github.Bool is deprecated: use Ptr instead. (staticcheck)
		Active: github.Bool(true),
		        ^

Check failure on line 283 in scm/github/repo.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] scm/github/repo.go#L283

SA1019: github.Bool is deprecated: use Ptr instead. (staticcheck)
Raw output
scm/github/repo.go:283:11: SA1019: github.Bool is deprecated: use Ptr instead. (staticcheck)
		Active: github.Bool(true),
		        ^

Check failure on line 76 in scm/github/github_client_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] scm/github/github_client_test.go#L76

SA1019: github.Int64 is deprecated: use Ptr instead. (staticcheck)
Raw output
scm/github/github_client_test.go:76:9: SA1019: github.Int64 is deprecated: use Ptr instead. (staticcheck)
				ID: github.Int64(1),
				    ^

Check failure on line 90 in scm/github/github_client_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] scm/github/github_client_test.go#L90

SA1019: github.Int64 is deprecated: use Ptr instead. (staticcheck)
Raw output
scm/github/github_client_test.go:90:9: SA1019: github.Int64 is deprecated: use Ptr instead. (staticcheck)
				ID: github.Int64(2),
				    ^

Check failure on line 104 in scm/github/github_client_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] scm/github/github_client_test.go#L104

SA1019: github.Int64 is deprecated: use Ptr instead. (staticcheck)
Raw output
scm/github/github_client_test.go:104:9: SA1019: github.Int64 is deprecated: use Ptr instead. (staticcheck)
				ID: github.Int64(1),
				    ^