2 Commits

Author SHA1 Message Date
Micheal Wilkinson
925c99bb9e docs: note govulncheck api limit workflow fix
All checks were successful
Push Validation / coverage-badge (push) Successful in 1m20s
Push Validation / recommend-release (push) Successful in 22s
2026-03-21 16:08:51 +00:00
Micheal Wilkinson
d65af508a3 chore(go): avoid setup-go stable resolution in ci 2026-03-21 16:08:49 +00:00
4 changed files with 9 additions and 4 deletions

View File

@@ -126,7 +126,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: '1.26.1'
check-latest: true
check-latest: false
cache: true
cache-dependency-path: go.sum

View File

@@ -35,7 +35,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: '1.26.1'
check-latest: true
check-latest: false
cache: true
cache-dependency-path: go.sum
@@ -77,6 +77,8 @@ jobs:
- name: Run govulncheck
uses: golang/govulncheck-action@v1.0.4
with:
go-version-file: go.mod
check-latest: false
go-package: ./...
cache: true
cache-dependency-path: go.sum

View File

@@ -31,7 +31,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: '1.26.1'
check-latest: true
check-latest: false
cache: true
cache-dependency-path: go.sum
@@ -73,6 +73,8 @@ jobs:
- name: Run govulncheck
uses: golang/govulncheck-action@v1.0.4
with:
go-version-file: go.mod
check-latest: false
go-package: ./...
cache: true
cache-dependency-path: go.sum
@@ -123,7 +125,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: '1.26.1'
check-latest: true
check-latest: false
cache: true
cache-dependency-path: go.sum

View File

@@ -35,6 +35,7 @@ A `### Breaking` section is used in addition to Keep a Changelog's standard sect
### Fixed
- Prevented `govulncheck-action` from defaulting to `setup-go` version `stable` by explicitly setting `go-version-file` and disabling `check-latest`, avoiding unauthenticated GitHub API rate-limit failures on self-hosted/act-style runners.
- Made `do-release` version resolution resilient to `workflow_call` input passing issues by adding a separate tag detection step that fetches and discovers the latest tag from origin as a fallback when `inputs.tag` is empty, enabling proper operation even when Gitea's workflow_call doesn't pass inputs through correctly.
- Fixed version resolution in `do-release` workflow by moving version calculation before checkout, resolving from inputs/git tags, and always passing explicit version to `publish` action.
- Fixed tag detection in `do-release` to prioritize the tag at current HEAD (created by `prepare-release`) over the globally latest tag, ensuring correct version is detected when called from `prepare-release` workflow.