mirror of
				https://github.com/XRPLF/clio.git
				synced 2025-11-04 11:55:51 +00:00 
			
		
		
		
	ci: Freeze pre-commit hooks (#2114)
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/pre-commit-autoupdate.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/pre-commit-autoupdate.yml
									
									
									
									
										vendored
									
									
								
							@@ -23,8 +23,8 @@ jobs:
 | 
			
		||||
          python-version: 3.x
 | 
			
		||||
 | 
			
		||||
      - run: pip install pre-commit
 | 
			
		||||
      - run: pre-commit autoupdate
 | 
			
		||||
      - run: pre-commit run --all-files
 | 
			
		||||
      - run: pre-commit autoupdate --freeze
 | 
			
		||||
      - run: pre-commit run --all-files || true
 | 
			
		||||
 | 
			
		||||
      - uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
 | 
			
		||||
        if: always()
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
repos:
 | 
			
		||||
  # `pre-commit sample-config` default hooks
 | 
			
		||||
  - repo: https://github.com/pre-commit/pre-commit-hooks
 | 
			
		||||
    rev: v5.0.0
 | 
			
		||||
    rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
 | 
			
		||||
    hooks:
 | 
			
		||||
      - id: check-added-large-files
 | 
			
		||||
      - id: check-executables-have-shebangs
 | 
			
		||||
@@ -26,19 +26,19 @@ repos:
 | 
			
		||||
 | 
			
		||||
  # Autoformat: YAML, JSON, Markdown, etc.
 | 
			
		||||
  - repo: https://github.com/rbubley/mirrors-prettier
 | 
			
		||||
    rev: v3.5.3
 | 
			
		||||
    rev: 787fb9f542b140ba0b2aced38e6a3e68021647a3 # frozen: v3.5.3
 | 
			
		||||
    hooks:
 | 
			
		||||
      - id: prettier
 | 
			
		||||
        exclude: ^docs/doxygen-awesome-theme/
 | 
			
		||||
 | 
			
		||||
  - repo: https://github.com/igorshubovych/markdownlint-cli
 | 
			
		||||
    rev: v0.44.0
 | 
			
		||||
    rev: 586c3ea3f51230da42bab657c6a32e9e66c364f0 # frozen: v0.44.0
 | 
			
		||||
    hooks:
 | 
			
		||||
      - id: markdownlint-fix
 | 
			
		||||
        exclude: LICENSE.md
 | 
			
		||||
 | 
			
		||||
  - repo: https://github.com/codespell-project/codespell
 | 
			
		||||
    rev: v2.4.1
 | 
			
		||||
    rev: 63c8f8312b7559622c0d82815639671ae42132ac # frozen: v2.4.1
 | 
			
		||||
    hooks:
 | 
			
		||||
      - id: codespell
 | 
			
		||||
        args:
 | 
			
		||||
@@ -57,14 +57,14 @@ repos:
 | 
			
		||||
        types: [c++]
 | 
			
		||||
        language: script
 | 
			
		||||
  - repo: https://github.com/pre-commit/mirrors-clang-format
 | 
			
		||||
    rev: v19.1.7
 | 
			
		||||
    rev: f9a52e87b6cdcb01b0a62b8611d9ba9f2dad0067 # frozen: v19.1.7
 | 
			
		||||
    hooks:
 | 
			
		||||
      - id: clang-format
 | 
			
		||||
        args: [--style=file]
 | 
			
		||||
        types: [c++]
 | 
			
		||||
 | 
			
		||||
  - repo: https://github.com/cheshirekow/cmake-format-precommit
 | 
			
		||||
    rev: v0.6.13
 | 
			
		||||
    rev: e2c2116d86a80e72e7146a06e68b7c228afc6319 # frozen: v0.6.13
 | 
			
		||||
    hooks:
 | 
			
		||||
      - id: cmake-format
 | 
			
		||||
        additional_dependencies: [PyYAML]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user