Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,14 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
# govulncheck-action runs its own internal actions/checkout@v4.1.1,
# which sets an http.extraheader Authorization. Combined with v6's
# default credential persistence, git ends up sending two
# Authorization headers and GitHub returns 400 ("Duplicate header").
persist-credentials: false
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version-file: go.mod
cache: true
- uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1
with:
go-version-file: go.mod
- name: Run govulncheck
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...

test:
name: Test
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ lint:
golangci-lint run

vuln:
# CI pins govulncheck via golang/govulncheck-action (Dependabot-tracked).
# This target is a local-dev fallback; it pulls whatever @latest is today.
# If you want a deterministic run locally, pin a specific version here.
# Mirrors the CI govulncheck job, which runs golang.org/x/vuln @latest
# directly. This is the local-dev equivalent; it pulls whatever @latest
# is today. Pin a specific version here for a deterministic local run.
go run golang.org/x/vuln/cmd/govulncheck@latest ./...

tidy:
Expand Down
2 changes: 1 addition & 1 deletion examples/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/pcanilho/go-github-kit/examples

go 1.26.2
go 1.26.4

require (
github.com/bradleyfalzon/ghinstallation/v2 v2.18.0
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/pcanilho/go-github-kit

go 1.26.2
go 1.26.4

require (
github.com/gofri/go-github-ratelimit/v2 v2.0.2
Expand Down
Loading