mirror of
https://github.com/replicatedhq/ttl.sh.git
synced 2026-08-25 03:07:15 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
38 lines
911 B
YAML
38 lines
911 B
YAML
name: Vulnerability check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
# sidecar/ is the only Go module in this repo.
|
|
paths:
|
|
- "sidecar/**"
|
|
- ".github/workflows/govulncheck.yaml"
|
|
schedule:
|
|
# Weekly scan so newly disclosed CVEs in pinned deps surface even
|
|
# without a code change. Mondays at 07:00 UTC.
|
|
- cron: "0 7 * * 1"
|
|
|
|
concurrency:
|
|
group: govulncheck-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
govulncheck:
|
|
name: govulncheck
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
# The action still installs govulncheck itself at @latest.
|
|
- name: Run govulncheck
|
|
uses: golang/govulncheck-action@v1
|
|
with:
|
|
go-version-file: sidecar/go.mod
|
|
check-latest: true
|
|
cache-dependency-path: sidecar/go.sum
|
|
work-dir: sidecar
|
|
repo-checkout: false
|