From 83764a1feff99064d37caec70072701100ae036d Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Tue, 27 Aug 2024 16:12:03 -0700 Subject: [PATCH] xx Signed-off-by: Derek Nola --- .github/workflows/trivy.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 7ce8d36aba92..f20f345282b9 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -13,14 +13,15 @@ jobs: env: GH_TOKEN: ${{ github.token }} steps: - - name: Comment Status on PR - run: | - gh repo set-default ${{ github.repository }} - gh pr comment ${{ github.event.issue.number }} -b ":construction: Running Trivy scan started on PR :construction: " - name: Checkout PR code uses: actions/checkout@v4 with: ref: ${{ github.event.issue.pull_request.head.ref }} + + - name: Comment Status on PR + run: | + gh repo set-default ${{ github.repository }} + gh pr comment ${{ github.event.issue.number }} -b ":construction: Running Trivy scan started on PR :construction: " - name: Build K3s Image run: |