🌱 Bump github.com/onsi/gomega from 1.40.0 to 1.42.1 in the ginkgo group across 1 directory #99
Workflow file for this run
This file contains hidden or 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: trivy | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| paths: | |
| - "Dockerfile" | |
| - "go.mod" | |
| - "go.sum" | |
| schedule: | |
| # Run weekly on Monday at 08:00 UTC | |
| - cron: "0 8 * * 1" | |
| jobs: | |
| trivy-scan: | |
| name: trivy image scan | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # tag=v4.2.2 | |
| - name: Calculate go version | |
| id: vars | |
| run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT | |
| - name: Set up Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # tag=v6.4.0 | |
| with: | |
| go-version: ${{ steps.vars.outputs.go_version }} | |
| - name: Build image | |
| run: | | |
| make docker-build CONTROLLER_IMG_TAG=cluster-api-operator:ci | |
| - name: Run Trivy vulnerability scanner | |
| uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # tag=0.36.0 | |
| with: | |
| image-ref: "cluster-api-operator:ci" | |
| format: "table" | |
| exit-code: "1" | |
| severity: "CRITICAL,HIGH" | |
| ignore-unfixed: true |