mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
14e98c60c3
Bumps the pre-commit-hooks group with 8 updates in the / directory: | Package | From | To | | --- | --- | --- | | [https://github.com/gitleaks/gitleaks](https://github.com/gitleaks/gitleaks) | `v8.30.0` | `8.30.1` | | [https://github.com/oxipng/oxipng](https://github.com/oxipng/oxipng) | `v10.0.0` | `10.1.0` | | [https://github.com/Lucas-C/pre-commit-hooks](https://github.com/Lucas-C/pre-commit-hooks) | `v1.5.5` | `1.5.6` | | [https://github.com/rhysd/actionlint](https://github.com/rhysd/actionlint) | `v1.7.9` | `1.7.11` | | [https://github.com/codespell-project/codespell](https://github.com/codespell-project/codespell) | `v2.4.1` | `2.4.2` | | [https://github.com/igorshubovych/markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) | `v0.46.0` | `0.48.0` | | [https://github.com/rubocop/rubocop](https://github.com/rubocop/rubocop) | `v1.81.7` | `1.85.1` | | [https://github.com/adrienverge/yamllint](https://github.com/adrienverge/yamllint) | `v1.37.1` | `1.38.0` | Updates `https://github.com/gitleaks/gitleaks` from v8.30.0 to 8.30.1 - [Release notes](https://github.com/gitleaks/gitleaks/releases) - [Commits](https://github.com/gitleaks/gitleaks/compare/v8.30.0...v8.30.1) Updates `https://github.com/oxipng/oxipng` from v10.0.0 to 10.1.0 - [Release notes](https://github.com/oxipng/oxipng/releases) - [Changelog](https://github.com/oxipng/oxipng/blob/master/CHANGELOG.md) - [Commits](https://github.com/oxipng/oxipng/compare/v10.0.0...v10.1.0) Updates `https://github.com/Lucas-C/pre-commit-hooks` from v1.5.5 to 1.5.6 - [Release notes](https://github.com/Lucas-C/pre-commit-hooks/releases) - [Commits](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.5...v1.5.6) Updates `https://github.com/rhysd/actionlint` from v1.7.9 to 1.7.11 - [Release notes](https://github.com/rhysd/actionlint/releases) - [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md) - [Commits](https://github.com/rhysd/actionlint/compare/v1.7.9...v1.7.11) Updates `https://github.com/codespell-project/codespell` from v2.4.1 to 2.4.2 - [Release notes](https://github.com/codespell-project/codespell/releases) - [Commits](https://github.com/codespell-project/codespell/compare/v2.4.1...v2.4.2) Updates `https://github.com/igorshubovych/markdownlint-cli` from v0.46.0 to 0.48.0 - [Release notes](https://github.com/igorshubovych/markdownlint-cli/releases) - [Commits](https://github.com/igorshubovych/markdownlint-cli/compare/v0.46.0...v0.48.0) Updates `https://github.com/rubocop/rubocop` from v1.81.7 to 1.85.1 - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.81.7...v1.85.1) Updates `https://github.com/adrienverge/yamllint` from v1.37.1 to 1.38.0 - [Release notes](https://github.com/adrienverge/yamllint/releases) - [Changelog](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst) - [Commits](https://github.com/adrienverge/yamllint/compare/v1.37.1...v1.38.0) --- updated-dependencies: - dependency-name: https://github.com/gitleaks/gitleaks dependency-version: 8.30.1 dependency-type: direct:production dependency-group: pre-commit-hooks - dependency-name: https://github.com/oxipng/oxipng dependency-version: 10.1.0 dependency-type: direct:production dependency-group: pre-commit-hooks - dependency-name: https://github.com/Lucas-C/pre-commit-hooks dependency-version: 1.5.6 dependency-type: direct:production dependency-group: pre-commit-hooks - dependency-name: https://github.com/rhysd/actionlint dependency-version: 1.7.11 dependency-type: direct:production dependency-group: pre-commit-hooks - dependency-name: https://github.com/codespell-project/codespell dependency-version: 2.4.2 dependency-type: direct:production dependency-group: pre-commit-hooks - dependency-name: https://github.com/igorshubovych/markdownlint-cli dependency-version: 0.48.0 dependency-type: direct:production dependency-group: pre-commit-hooks - dependency-name: https://github.com/rubocop/rubocop dependency-version: 1.85.1 dependency-type: direct:production dependency-group: pre-commit-hooks - dependency-name: https://github.com/adrienverge/yamllint dependency-version: 1.38.0 dependency-type: direct:production dependency-group: pre-commit-hooks ... Signed-off-by: dependabot[bot] <support@github.com>
131 lines
4.2 KiB
YAML
131 lines
4.2 KiB
YAML
---
|
|
# https://github.com/j178/prek
|
|
default_stages: [pre-commit, pre-push]
|
|
default_language_version:
|
|
python: python3
|
|
node: 24.11.1
|
|
minimum_pre_commit_version: "3.2.0"
|
|
exclude: "^tools/lrama/"
|
|
repos:
|
|
- repo: meta
|
|
hooks:
|
|
- id: identity
|
|
name: run identity
|
|
description: check your identity
|
|
- id: check-hooks-apply
|
|
name: run check-hooks-apply
|
|
description: check hooks apply to the repository
|
|
- repo: local
|
|
hooks:
|
|
- id: prettier
|
|
name: run prettier
|
|
description: format files with prettier
|
|
entry: prettier --write '**/*.md' '**/*.yaml' '**/*.yml'
|
|
files: \.(md|ya?ml)$
|
|
language: node
|
|
additional_dependencies: ["prettier@3.7.4"]
|
|
pass_filenames: false
|
|
stages: [manual]
|
|
- id: check-zip-file-is-not-committed
|
|
name: disallow zip files
|
|
description: Zip files are not allowed in the repository
|
|
language: fail
|
|
entry: |
|
|
Zip files are not allowed in the repository as they are hard to
|
|
track and have security implications. Please remove the zip file from the repository.
|
|
files: \.zip$
|
|
- repo: https://github.com/gitleaks/gitleaks
|
|
rev: v8.30.1
|
|
hooks:
|
|
- id: gitleaks
|
|
name: run gitleaks
|
|
description: detect hardcoded secrets with gitleaks
|
|
- repo: https://github.com/oxipng/oxipng
|
|
rev: v10.1.0
|
|
hooks:
|
|
- id: oxipng
|
|
name: run oxipng
|
|
description: use lossless compression to optimize PNG files
|
|
args: ["--fix", "-o", "4", "--strip", "safe", "--alpha"]
|
|
stages: [manual]
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-case-conflict
|
|
- id: check-executables-have-shebangs
|
|
exclude: ^test/t/lang\.rb$
|
|
- id: check-illegal-windows-names
|
|
- id: check-merge-conflict
|
|
- id: check-shebang-scripts-are-executable
|
|
- id: check-vcs-permalinks
|
|
- id: check-yaml
|
|
- id: destroyed-symlinks
|
|
- id: detect-aws-credentials
|
|
args: [--allow-missing-credentials]
|
|
- id: detect-private-key
|
|
- id: end-of-file-fixer
|
|
- id: file-contents-sorter
|
|
args: [--unique]
|
|
files: ^\.github/linters/codespell\.txt$
|
|
- id: fix-byte-order-marker
|
|
- id: forbid-submodules
|
|
- id: mixed-line-ending
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
rev: v1.5.6
|
|
hooks:
|
|
- id: forbid-tabs
|
|
name: run no-tabs checker
|
|
description: check the codebase for tabs
|
|
exclude: Makefile$
|
|
- id: remove-tabs
|
|
name: run tabs remover
|
|
description: find and convert tabs to spaces
|
|
args: [--whitespaces-count, "2"]
|
|
exclude: Makefile$
|
|
- repo: https://github.com/rhysd/actionlint
|
|
rev: v1.7.11
|
|
hooks:
|
|
- id: actionlint
|
|
name: run actionlint
|
|
description: lint GitHub Actions workflow files
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.4.2
|
|
hooks:
|
|
- id: codespell
|
|
name: run codespell
|
|
description: check spelling with codespell
|
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
rev: v0.48.0
|
|
hooks:
|
|
- id: markdownlint
|
|
name: run markdownlint
|
|
description: checks the style of Markdown files
|
|
args: [--config=.github/linters/.markdown-lint.yml]
|
|
types: [markdown]
|
|
files: \.md$
|
|
- repo: https://github.com/rubocop/rubocop
|
|
rev: v1.85.1
|
|
hooks:
|
|
- id: rubocop
|
|
name: run rubocop
|
|
description: RuboCop is a Ruby code style checker (linter) and formatter based on the community-driven Ruby Style Guide
|
|
exclude: ^test/t/syntax\.rb$
|
|
args: [--config=.github/linters/.rubocop.yml]
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
rev: v0.11.0.1
|
|
hooks:
|
|
- id: shellcheck
|
|
name: run shellcheck
|
|
description: check shell scripts with a static analysis tool
|
|
- repo: https://github.com/adrienverge/yamllint
|
|
rev: v1.38.0
|
|
hooks:
|
|
- id: yamllint
|
|
name: run yamllint
|
|
description: check YAML files with yamllint
|
|
args: [--strict, -c=.github/linters/.yaml-lint.yml]
|
|
types: [yaml]
|
|
files: \.ya?ml$
|