Skip to content

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 bef0c18 commit 804c44b
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 804c44b

Please sign in to comment.