Skip to content

Commit

Permalink
Bump igorshubovych/markdownlint-cli from 0.34.0 to 0.37.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fabasoad committed Oct 7, 2023
1 parent 073e132 commit 6da19ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,12 @@ jobs:
runs-on: ubuntu-latest
container:
image: ghcr.io/fabasoad/pre-commit-container:latest
options: --user root
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update git config
run: |
repo=$(echo "${{ github.repository }}" | cut -d "/" -f 2)
git config --global --add safe.directory "/__w/$repo/$repo"
run: git config --global --add safe.directory "$(pwd)"
- name: Run pre-commit on changed files
if: ${{ github.event_name == 'pull_request' }}
run: |
Expand Down
11 changes: 5 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
default_install_hook_types: ["pre-commit", "pre-push"]
default_stages: ["commit", "push"]
exclude: ^\.gitleaks\.toml$
minimum_pre_commit_version: 2.18.0
repos:
# Security
Expand All @@ -10,18 +9,18 @@ repos:
hooks:
- id: detect-secrets
- repo: https://github.com/zricethezav/gitleaks
rev: v8.16.3
rev: v8.18.0
hooks:
- id: gitleaks
# Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.34.0
rev: v0.37.0
hooks:
- id: markdownlint-fix
stages: ["commit"]
# Shell
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.2
rev: v0.9.0.6
hooks:
- id: shellcheck
stages: ["push"]
Expand All @@ -33,13 +32,13 @@ repos:
stages: ["push"]
# GitHub Actions
- repo: https://github.com/rhysd/actionlint
rev: v1.6.24
rev: v1.6.26
hooks:
- id: actionlint
stages: ["push"]
# Other
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.9-for-vscode
rev: v3.0.3
hooks:
- id: prettier
stages: ["commit"]
Expand Down

0 comments on commit 6da19ca

Please sign in to comment.