File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed
Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,21 @@ jobs:
1010 deploy :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v4
13+ - name : Harden the runner (Audit all outbound calls)
14+ uses : step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0
15+ with :
16+ egress-policy : audit
17+
18+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1419 - name : Configure Git Credentials
1520 run : |
1621 git config user.name github-actions[bot]
1722 git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18- - uses : actions/setup-python@v5
23+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
1924 with :
2025 python-version : 3.x
2126 - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
22- - uses : actions/cache@v4
27+ - uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
2328 with :
2429 key : mkdocs-material-${{ env.cache_id }}
2530 path : .cache
Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : https://github.com/gitleaks/gitleaks
3+ rev : v8.16.3
4+ hooks :
5+ - id : gitleaks
6+ - repo : https://github.com/pre-commit/pre-commit-hooks
7+ rev : v4.4.0
8+ hooks :
9+ - id : end-of-file-fixer
10+ - id : trailing-whitespace
You can’t perform that action at this time.
0 commit comments