Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
best practices: ossf scorecard: Fix pinning per Pedro suggestion with…
Browse files Browse the repository at this point in the history
… --require-hashes

Related: ossf/scorecard#4189 (comment)
Signed-off-by: John Andersen <[email protected]>
  • Loading branch information
John Andersen authored and pdxjohnny committed Jun 24, 2024
1 parent 48b2233 commit 0d93632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ossf_scorecard_pindeps.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def main():
)
+ line_end
)
line = line_start + "python -m pip install -r requirements-lock.txt" + line_end
line = line_start + "python -m pip install --require-hashes -r requirements-lock.txt" + line_end

new_lines.append(line)
path.write_text("\n".join(new_lines))
Expand Down

0 comments on commit 0d93632

Please sign in to comment.