Skip to content
Open
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
36 changes: 36 additions & 0 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Govulncheck

on:
push:
branches: [main]
pull_request:
branches: ["**"]
schedule:
# Weekly scan to catch newly disclosed CVEs in dependencies.
# 09:00 UTC Mondays = 10:00 CET (winter) / 11:00 CEST (summer).
- cron: "0 9 * * 1"
workflow_dispatch:

permissions:
contents: read

concurrency:
# Cancel old runs if there is a new commit in the same branch
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
govulncheck:
runs-on: ubuntu-latest
name: Run govulncheck
steps:
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: "1.25"
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Run govulncheck
run: govulncheck ./...
Loading