From b0dcab35b68312f382760893d0c446a5d71a1323 Mon Sep 17 00:00:00 2001 From: Maaike Date: Fri, 21 Jun 2024 16:15:36 +0200 Subject: [PATCH] update trivvy.yml --- .github/workflows/trivvy.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/trivvy.yml b/.github/workflows/trivvy.yml index 53332656..325697e5 100644 --- a/.github/workflows/trivvy.yml +++ b/.github/workflows/trivvy.yml @@ -1,13 +1,10 @@ -name: build -on: - push: - branches: - - main - pull_request: +name: Run Trivy vulnerability scanner + +on: [ push ] + jobs: - build: - name: Build - runs-on: ubuntu-20.04 + main: + runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2