Skip to content

Fix image-scan workflow failing on schedule trigger#37

Merged
dash14 merged 1 commit intomainfrom
fix/image-scan-checkout-on-schedule
Apr 5, 2026
Merged

Fix image-scan workflow failing on schedule trigger#37
dash14 merged 1 commit intomainfrom
fix/image-scan-checkout-on-schedule

Conversation

@dash14
Copy link
Copy Markdown
Owner

@dash14 dash14 commented Apr 5, 2026

Summary

  • Fix Image Security Scan workflow failing on schedule trigger with cannot find ignorefile '.trivyignore' error
  • The Checkout step was conditionally skipped for schedule events, so the .trivyignore file was not available when Trivy ran
  • Remove the condition to ensure checkout runs for all trigger types

@dash14 dash14 merged commit b6dbd1e into main Apr 5, 2026
6 checks passed
@dash14 dash14 deleted the fix/image-scan-checkout-on-schedule branch April 5, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant