Skip to content

Commit

Permalink
🌱 Remove check-osv (#2303)
Browse files Browse the repository at this point in the history
- Remove Check OSV as it is integrated into GitHub now.

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
  • Loading branch information
naveensrinivasan authored Sep 27, 2022
1 parent c3a7921 commit d4b44e5
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ install: $(GOLANGCI_LINT) \
##@ Build
################################## make all ###################################
all: ## Runs build, test and verify
all-targets = build check-linter check-osv validate-docs add-projects validate-projects
all-targets = build check-linter validate-docs add-projects validate-projects
.PHONY: all all-targets-update-dependencies $(all-targets) update-dependencies tree-status
all-targets-update-dependencies: $(all-targets) | update-dependencies
all: update-dependencies all-targets-update-dependencies tree-status
Expand All @@ -100,18 +100,6 @@ check-linter: | $(GOLANGCI_LINT)
# Run golangci-lint linter
$(GOLANGCI_LINT) run -c .golangci.yml

check-osv: ## Checks osv.dev for any vulnerabilities
check-osv: | $(STUNNING_TRIBBLE)
# Run stunning-tribble for checking the dependencies have any OSV
go list -m -f '{{if not (or .Main)}}{{.Path}}@{{.Version}}_{{.Replace}}{{end}}' all \
| $(STUNNING_TRIBBLE)
# Checking the tools which also has go.mod
cd tools; go list -m -f '{{if not (or .Main)}}{{.Path}}@{{.Version}}_{{.Replace}}{{end}}' all \
| $(STUNNING_TRIBBLE) ; cd ..
# Checking the attestor module for vulns
cd attestor; go list -m -f '{{if not (or .Main)}}{{.Path}}@{{.Version}}_{{.Replace}}{{end}}' all \
| $(STUNNING_TRIBBLE) ; cd ..

add-projects: ## Adds new projects to ./cron/internal/data/projects.csv
add-projects: ./cron/internal/data/projects.csv | build-add-script
# Add new projects to ./cron/internal/data/projects.csv
Expand Down

0 comments on commit d4b44e5

Please sign in to comment.