CONTRIBUTING.md: add a dependency update policy, and nightly vulncheck (#678)

Add a section the our CONTRIBUTING.md describing when and how
dependencies should be updated, and the criteria for adding a new
dependency.

Also, add a nightly workflow to run vulncheck.

Fixes #635
This commit is contained in:
Robert Findley 2025-12-03 11:07:05 -05:00 • committed by GitHub
commit 8adc1e3a3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

17
.github/workflows/nightly.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Nightly
on:
schedule:
- cron: '0 2 * * *' # 2 AM UTC daily
workflow_dispatch:
jobs:
vulncheck:
runs-on: ubuntu-latest
steps:
- name: Run govulncheck
uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4
with:
go-version-file: go.mod
go-package: ./...