Skip to content

Commit

Permalink
fix: get the template and set default working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzodagostinoradicalbit committed Jun 5, 2024
1 parent fb74917 commit 72663b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/trivy-fs-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,16 @@ permissions:
jobs:
name: run-scan
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ${{ inputs.directory }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Obtain template file
shell: bash
run: curl -o trivy-pr-comment.tpl ${{ inputs.template }}

- name: Run Trivy vulnerability scanner
uses: aquasecurity/[email protected]
with:
Expand Down

0 comments on commit 72663b1

Please sign in to comment.