Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/workflows/trivy-go-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
Expand Down Expand Up @@ -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 }}
Expand Down
Loading