6
0
Fork 0
mirror of https://github.com/pre-commit/action.git synced 2025-12-27 08:38:17 +00:00

Pin actions/cache to commit SHA for security policy compliance

This commit is contained in:
J. Nick Koston 2025-10-02 19:12:21 -05:00
parent 1b06ec171f
commit 43cd1109c0
No known key found for this signature in database

View file

@ -12,7 +12,7 @@ runs:
shell: bash shell: bash
- run: python -m pip freeze --local - run: python -m pip freeze --local
shell: bash shell: bash
- uses: actions/cache@v4 - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with: with:
path: ~/.cache/pre-commit path: ~/.cache/pre-commit
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}