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 }}