Skip to content

Commit

Permalink
fix cve report generator workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Feb 18, 2024
1 parent c13ae75 commit a23bd29
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 393 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cve-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,14 @@ jobs:
- name: Generate report
run: |
./hack/scripts/update-chart-dependencies.sh
go run ./cmd/generate-cve-report/main.go
- name: Update repo
run: |
git add --all
if [[ $(git status --porcelain) ]]; then
git commit -s -a -m "update redis images $(date --rfc-3339=date)"
git commit -s -a -m "update cve report $(date --rfc-3339=date)"
git fetch origin
# https://git-scm.com/docs/merge-strategies
git pull --rebase -s ours origin master
Expand Down
2 changes: 0 additions & 2 deletions cmd/generate-cve-report/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ func GatherReport() ([]CVEReport, error) {
setReport(report, &cveReport)
}
reports = append(reports, cveReport)

break
}

return reports, nil
Expand Down
Loading

0 comments on commit a23bd29

Please sign in to comment.