From 7b541366879fbc31ca84ed7c3917e0df7abf52dc Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Sun, 12 Nov 2023 16:06:29 +0000 Subject: [PATCH] Use branch name instead of version for trivy-action Use the branch name instead of the version of the trivy-action action based on their documentation, as GitHub Actions is reporting that it is unable to find v0.14.0. --- .github/workflows/terraform-checks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/terraform-checks.yaml b/.github/workflows/terraform-checks.yaml index 7e88ce5..770424d 100644 --- a/.github/workflows/terraform-checks.yaml +++ b/.github/workflows/terraform-checks.yaml @@ -189,7 +189,7 @@ jobs: git-commit-message: Syncing terraform-docs update for ${{ inputs.working-directory }}/README.md - name: Run trivy against the ${{ inputs.type }} - uses: aquasecurity/trivy-action@v0.14.0 + uses: aquasecurity/trivy-action@master with: github-pat: ${{ secrets.GITHUB_TOKEN }} trivy-config: .trivy.yaml