32 lines
867 B
YAML
32 lines
867 B
YAML
# THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
# Edit https://github.com/cert-manager/makefile-modules/blob/main/modules/go/base/.github/workflows/govulncheck.yaml instead.
|
|
|
|
# Run govulncheck at midnight every night on the main branch,
|
|
# to alert us to recent vulnerabilities which affect the Go code in this
|
|
# project.
|
|
name: govulncheck
|
|
on:
|
|
workflow_dispatch: {}
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
govulncheck:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
|
|
- id: go-version
|
|
run: |
|
|
make print-go-version >> "$GITHUB_OUTPUT"
|
|
|
|
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
|
with:
|
|
go-version: ${{ steps.go-version.outputs.result }}
|
|
|
|
- run: make verify-govulncheck
|