mirror of
https://github.com/winapps-org/winapps.git
synced 2025-05-31 20:37:18 +02:00
Updated pre-commit hooks to allow submodules
This commit is contained in:
parent
c3fc99dda9
commit
ed0f7db8ff
4
.github/workflows/update.yaml
vendored
4
.github/workflows/update.yaml
vendored
@ -2,7 +2,7 @@ name: Update submodules
|
|||||||
on:
|
on:
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: update
|
types: update
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update:
|
update:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -10,7 +10,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Update module
|
- name: Update module
|
||||||
run: |
|
run: |
|
||||||
git submodule update --init --recursive --checkout -f
|
git submodule update --init --recursive --checkout -f
|
||||||
|
@ -32,8 +32,6 @@ repos:
|
|||||||
- id: detect-private-key
|
- id: detect-private-key
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: fix-byte-order-marker
|
- id: fix-byte-order-marker
|
||||||
- id: forbid-new-submodules
|
|
||||||
- id: forbid-submodules
|
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
- id: pretty-format-json
|
- id: pretty-format-json
|
||||||
args: [ "--autofix", "--no-sort-keys" ]
|
args: [ "--autofix", "--no-sort-keys" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user