Skip to content

Commit

Permalink
fix: added input check for install-packages on npm audit signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed Jul 3, 2024
1 parent 98e8e6e commit b6c86f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion step/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ runs:

- name: "Verify the integrity of provenance attestations and registry signatures for installed dependencies"
shell: "bash"
if: "inputs.run-signatures-audit == 'true'"
if: "inputs.run-signatures-audit == 'true' && inputs.install-packages == 'true'"
run: "npm audit signatures"

- name: "Install Bun for tests"
Expand Down

0 comments on commit b6c86f9

Please sign in to comment.