[release-0.21] staging bundle release #7281
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Vulnerability scan" | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
paths-ignore: | |
- 'cmd/integration_test/build/buildspecs/*.yaml' | |
- 'cmd/integration_test/build/buildspecs/*.yml' | |
- 'test/e2e/QUICK_TESTS.yaml' | |
workflow_dispatch: | |
schedule: | |
# every day at 7am UTC | |
- cron: '0 7 * * *' | |
permissions: | |
contents: read | |
jobs: | |
dependency-review: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: "Dependency Review" | |
uses: actions/dependency-review-action@v4 | |
with: | |
base-ref: ${{ github.event.pull_request.base.sha || github.event.before || github.sha }} | |
head-ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
govulncheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: govulncheck | |
uses: golang/govulncheck-action@v1 | |
with: | |
check-latest: true | |
repo-checkout: false | |
go-version-file: go.mod | |
- name: govulncheck for release module | |
uses: golang/govulncheck-action@v1 | |
with: | |
check-latest: true | |
repo-checkout: false | |
cache: false # cache will be already setup by previous step | |
work-dir: release/cli | |
go-version-input: '1.22' |