From 10b51ec73a1b671f872a2d79a7a968a2344b3827 Mon Sep 17 00:00:00 2001 From: Mat Moore Date: Wed, 13 Nov 2024 09:23:22 +0000 Subject: [PATCH] ci: enable trivy scan on push to main Previously it was only triggering on PRs. This will ensure the code scanning tab in github is populated for the main branch as well. --- .github/workflows/scan-image.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/scan-image.yml b/.github/workflows/scan-image.yml index 6b1b4e82..d95afce6 100644 --- a/.github/workflows/scan-image.yml +++ b/.github/workflows/scan-image.yml @@ -5,6 +5,9 @@ on: pull_request: branches: - main + push: + branches: + - main permissions: {}