Skip to content

Commit

Permalink
fix: use syntax that actually works
Browse files Browse the repository at this point in the history
  • Loading branch information
americanmouths committed Jan 6, 2025
1 parent 6383dc3 commit 5dc4672
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ runs:
- name: Run Bundler Audit
id: audit
run: |
bundle-audit check --update ${${{ inputs.ignore_list }}:+--ignore ${{ inputs.ignore_list }}} > audit_output.txt || true
ignore_flag=""
if [ -n "${{ inputs.ignore_list }}" ]; then
ignore_flag="--ignore ${{ inputs.ignore_list }}"
fi
bundle-audit check --update $ignore_flag > audit_output.txt || true
shell: bash

- name: Check for Vulnerabilities
Expand Down

0 comments on commit 5dc4672

Please sign in to comment.