chore: applly image scan#27
Conversation
Greptile SummaryThis PR removes the optional
Confidence Score: 3/5The change removes a shared workflow capability that callers in other repositories may still rely on; merging without verifying downstream consumers risks silently broken Go test runs. The deleted step was the only mechanism for callers to inject runtime environment variables (e.g. AUTH0_*) into Go tests. Because env_artifact_name was optional with a default of '', GitHub Actions will not surface an error if a caller still passes it — the input is simply ignored and tests proceed without the expected env file. Any repo that currently uses this feature will see test failures with no clear signal at the workflow-call site. The change is safe only if no caller in the organisation currently passes env_artifact_name, which should be confirmed before merging. .github/workflows/trivy-go-tests.yaml — verify no org-wide caller passes env_artifact_name before this is merged. Important Files Changed
Sequence Diagram%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
participant Caller as Caller Workflow
participant W as trivy-go-tests.yaml
participant Trivy as Trivy Action
participant Go as Go Toolchain
Caller->>W: workflow_call (run_go_tests, working_directory, test_path)
W->>W: Checkout Code
W->>Go: Set up env / go mod download / go mod tidy (if run_go_tests)
W->>Trivy: Run Trivy vulnerability scanner (fs scan)
Note over W: REMOVED: Download .env artifact step
Note over W: REMOVED: env_artifact_name input
W->>Go: go test (if run_go_tests) — env vars no longer pre-loaded
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
participant Caller as Caller Workflow
participant W as trivy-go-tests.yaml
participant Trivy as Trivy Action
participant Go as Go Toolchain
Caller->>W: workflow_call (run_go_tests, working_directory, test_path)
W->>W: Checkout Code
W->>Go: Set up env / go mod download / go mod tidy (if run_go_tests)
W->>Trivy: Run Trivy vulnerability scanner (fs scan)
Note over W: REMOVED: Download .env artifact step
Note over W: REMOVED: env_artifact_name input
W->>Go: go test (if run_go_tests) — env vars no longer pre-loaded
|
Summary
Why
QA Report
Integration Tests
Added
Edited
Dependencies