From e8f0625ce57bcd6feb1a9e7f6faa3592e1f5b572 Mon Sep 17 00:00:00 2001 From: dandelany Date: Wed, 4 Sep 2024 16:54:45 -0700 Subject: [PATCH] move trivyignore file to project root --- .github/workflows/publish.yml | 7 +------ .github/config/.trivyignore => .trivyignore | 0 2 files changed, 1 insertion(+), 6 deletions(-) rename .github/config/.trivyignore => .trivyignore (100%) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3ae422b7d6..64d29e1e6d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -147,11 +147,6 @@ jobs: fail-fast: false name: scan ${{ matrix.image }} steps: - - name: Test current location - run: | - pwd - ls -al - ls .github - name: Scan ${{ matrix.image }} for vulnerabilities uses: aquasecurity/trivy-action@0.24.0 with: @@ -163,7 +158,7 @@ jobs: template: "@/contrib/html.tpl" scanners: "vuln" output: "${{ matrix.image }}-results.html" - trivyignores: ".github/config/.trivyignore" + trivyignores: .trivyignore - name: Upload ${{ matrix.image }} scan results if: always() diff --git a/.github/config/.trivyignore b/.trivyignore similarity index 100% rename from .github/config/.trivyignore rename to .trivyignore