Skip to content

Commit c422c28

Browse files
authored
Merge pull request #309 from abn2357/fix_security_vulnerabilities
Security fix: pin dependency versions and add pip-audit step
2 parents 61814c0 + a2fcf20 commit c422c28

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,16 @@ jobs:
1818
- name: Prepare build environment
1919
run: |
2020
sudo apt install python3-pip python3-dev python3-setuptools
21-
sudo pip3 install -U pygments==2.17.2 pymdown-extensions
22-
sudo pip3 install mkdocs-exclude
21+
sudo pip3 install -U pygments==2.17.2 pymdown-extensions==10.14.3
22+
sudo pip3 install mkdocs-exclude==1.0.2
2323
sudo pip3 install mkdocs-material==9.6.8
2424
sudo pip3 install jieba==0.42.1
2525
26+
- name: Audit dependencies
27+
run: |
28+
sudo pip3 install pip-audit==2.10.0
29+
pip-audit
30+
2631
- name: Build the document
2732
run: mkdocs build
2833

0 commit comments

Comments
 (0)