From 8dd8ab19e5ffde9c406e3a7d28dec6f440c582b7 Mon Sep 17 00:00:00 2001 From: Muhammad Tahir Nawaz Date: Tue, 16 Jun 2026 09:56:40 +0500 Subject: [PATCH] chore: applly image scan --- .github/workflows/trivy-go-tests.yaml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/trivy-go-tests.yaml b/.github/workflows/trivy-go-tests.yaml index ce77df3..4e8df9f 100644 --- a/.github/workflows/trivy-go-tests.yaml +++ b/.github/workflows/trivy-go-tests.yaml @@ -18,11 +18,6 @@ on: required: false default: './tests/...' type: string - env_artifact_name: - description: 'Name of an uploaded .env artifact to download into the working directory before running tests (leave empty to skip). Used to provide runtime env vars (e.g. AUTH0_*) that the app reads at init.' - required: false - default: '' - type: string secrets: GH_ACCESS_TOKEN: description: 'GitHub access token for private repo access (required only if run_go_tests is true)' @@ -74,13 +69,6 @@ jobs: severity: 'CRITICAL,HIGH,MEDIUM,LOW' exit-code: '1' - - name: Download .env artifact - if: ${{ inputs.run_go_tests && inputs.env_artifact_name != '' }} - uses: actions/download-artifact@v4 - with: - name: ${{ inputs.env_artifact_name }} - path: ${{ inputs.working_directory }} - - name: Run Go Unit Tests if: ${{ inputs.run_go_tests }} working-directory: ${{ inputs.working_directory }}