Skip to content

Commit befbedf

Browse files
committed
chore(maintenance): add --require-hashes flag to pip installs (#1827)
1 parent 098b9d0 commit befbedf

File tree

5 files changed

+227
-696
lines changed

5 files changed

+227
-696
lines changed

.github/workflows/reusable-publish-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
python-version: "3.11"
5858
- name: Install doc generation dependencies
5959
run: |
60-
pip install -r docs/requirements.txt
60+
pip install --require-hashes -r docs/requirements.txt
6161
- name: Setup doc deploy
6262
run: |
6363
git config --global user.name Docs deploy

docs/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM squidfunk/mkdocs-material@sha256:fc42bac0005e79c2b2dd576e72103b06932c30c7b7b455a1f9cd3d39b187d49d
1+
FROM squidfunk/mkdocs-material@sha256:9af3b7e58f88c46d85fd3abfd2a8abad2bd157a8baa5ad8303d43ce0bdf098bb
22

3-
ADD docker-requirements.txt /tmp/docker-requirements.txt
4-
RUN pip install -r /tmp/docker-requirements.txt
3+
ADD requirements.txt /tmp/
4+
RUN pip install --require-hashes -r /tmp/requirements.txt

docs/docker-requirements.txt

-223
This file was deleted.

0 commit comments

Comments
 (0)