mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #6599 from jbampton/manual-hooks
This commit is contained in:
@@ -25,6 +25,8 @@ jobs:
|
||||
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
|
||||
- name: Run pre-commit
|
||||
run: pre-commit run --all-files
|
||||
- name: Run manual pre-commit hooks
|
||||
run: pre-commit run --all-files --hook-stage manual
|
||||
ls-lint:
|
||||
name: Run ls-lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -24,12 +24,21 @@ repos:
|
||||
files: \.(json|md|ya?ml)$
|
||||
language: node
|
||||
additional_dependencies: ["prettier@3.6.2"]
|
||||
stages: [manual]
|
||||
- repo: https://github.com/gitleaks/gitleaks
|
||||
rev: v8.28.0
|
||||
hooks:
|
||||
- id: gitleaks
|
||||
name: run gitleaks
|
||||
description: detect hardcoded secrets with gitleaks
|
||||
- repo: https://github.com/oxipng/oxipng
|
||||
rev: v9.1.5
|
||||
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:
|
||||
@@ -97,6 +106,7 @@ repos:
|
||||
name: run markdown-link-check
|
||||
description: checks hyperlinks in Markdown files
|
||||
args: [--config=.github/linters/mlc_config.json, -q]
|
||||
stages: [manual]
|
||||
types: [markdown]
|
||||
files: \.md$
|
||||
- repo: https://github.com/rubocop/rubocop
|
||||
|
||||
Reference in New Issue
Block a user