Files
nfpm/.github/workflows/govulncheck.yml
Carlos Alexandro BeckerandCopilot 4b170c1398 chore: update Go to 1.27.4 (#1179)
* chore: update Go to 1.27.4

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 0b7b91d3-6d9d-4a41-81d7-54d026ef272a
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* ci: read govulncheck Go version from go.mod

Address review feedback by using go-version-file and clearing the action's default stable version input.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 0b7b91d3-6d9d-4a41-81d7-54d026ef272a
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Copilot-Session: 0b7b91d3-6d9d-4a41-81d7-54d026ef272a
2026-11-12 01:37:02 +00:00

29 lines
760 B
YAML

name: govulncheck
on:
pull_request:
push:
branches: [main]
schedule:
- cron: "0 2 * * *"
permissions:
contents: read
concurrency:
group: govulncheck-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
govulncheck:
runs-on: ubuntu-latest
permissions:
security-events: write
contents: read
steps:
- uses: golang/govulncheck-action@032d45514ae346b1db93c04b0c90b841c370344f # v1.1.0
with:
go-version-input: ""
go-version-file: go.mod
output-format: sarif
output-file: results.sarif
- uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
sarif_file: results.sarif