mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-23 09:00:52 +00:00
feat: Verify that repo paths are portable
This commit is contained in:
parent
1f1049f9b5
commit
fd100e8fcb
1 changed files with 10 additions and 0 deletions
|
@ -2,6 +2,16 @@
|
||||||
# Please run `pre-commit run --all-files` when adding or changing entries.
|
# Please run `pre-commit run --all-files` when adding or changing entries.
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: pathchk
|
||||||
|
name: pathchk
|
||||||
|
entry: pathchk
|
||||||
|
args: [--portability]
|
||||||
|
exclude: ^([a-zA-Z0-9._][a-zA-Z0-9._-]+)(/[a-zA-Z0-9._][a-zA-Z0-9._-]+)*$ # https://lists.gnu.org/archive/html/coreutils/2023-01/msg00006.html
|
||||||
|
language: system
|
||||||
|
stages: [commit]
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: 6f3cb139ef36133b6f903b97facc57b07cef57c9 # frozen: v3.0.0-alpha.6
|
rev: 6f3cb139ef36133b6f903b97facc57b07cef57c9 # frozen: v3.0.0-alpha.6
|
||||||
hooks:
|
hooks:
|
||||||
|
|
Loading…
Reference in a new issue