mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Lock pre-commit version
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
3ddd7eb6ff
commit
314017e71f
1 changed files with 3 additions and 2 deletions
5
.github/workflows/pre-commit-action.yml
vendored
5
.github/workflows/pre-commit-action.yml
vendored
|
@ -8,6 +8,8 @@ on:
|
|||
type: string
|
||||
description: JSON string containing information about changed files
|
||||
|
||||
env:
|
||||
PRE_COMMIT_VERSION: "2.21.0"
|
||||
|
||||
jobs:
|
||||
Pre-Commit:
|
||||
|
@ -34,8 +36,7 @@ jobs:
|
|||
PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/
|
||||
PIP_EXTRA_INDEX_URL: https://pypi.org/simple
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pre-commit
|
||||
pip install wheel pre-commit==${PRE_COMMIT_VERSION}
|
||||
pre-commit install --install-hooks
|
||||
|
||||
- name: Check ALL Files On Branch
|
||||
|
|
Loading…
Add table
Reference in a new issue