From febfd09866f8770362156f027505cdbc2122df18 Mon Sep 17 00:00:00 2001 From: Assaf Attias <49212512+attiasas@users.noreply.github.com> Date: Sun, 5 Jan 2025 10:55:15 +0200 Subject: [PATCH] Fix CI tests 'vars' value (#276) --- .github/workflows/test.yml | 2 +- utils/formats/summary.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 48e5175a..f593c3ee 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ env: GRADLE_OPTS: -Dorg.gradle.daemon=false CI: true JFROG_CLI_LOG_LEVEL: DEBUG - JFROG_SECURITY_CLI_TESTS_JFROG_PLATFORM_PROJECT_KEY: ${{ var.JFROG_TEST_PROJECT_KEY }} + JFROG_SECURITY_CLI_TESTS_JFROG_PLATFORM_PROJECT_KEY: ${{ vars.JFROG_TEST_PROJECT_KEY }} jobs: Pretest: diff --git a/utils/formats/summary.go b/utils/formats/summary.go index 60d1c2b0..3adb4fee 100644 --- a/utils/formats/summary.go +++ b/utils/formats/summary.go @@ -74,7 +74,7 @@ func (cp *CuratedPackages) GetApprovedCount() int { func (cp *CuratedPackages) GetBlockedCount() int { parsed := datastructures.MakeSet[string]() for _, blocked := range cp.Blocked { - for packageId, _ := range blocked.Packages { + for packageId := range blocked.Packages { if parsed.Exists(packageId) { continue }