13
0
Fork 0
mirror of https://github.com/pre-commit/action.git synced 2026-07-06 09:29:31 +00:00

ci: pin GitHub Actions to commit SHA

This commit is contained in:
Shubham Hibare 2026-05-26 15:30:45 +05:30
parent 1b06ec171f
commit f763c6abfa
Failed to extract signature
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ jobs:
main: main:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/setup-python@v3 - uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
- name: self test action - name: self test action
uses: ./ uses: ./

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
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') }}