Skip to content

Commit

Permalink
fix regex patterns to match files in pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Jun 15, 2023
1 parent f8c094b commit 3b9357c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
description: Runs actionlint to lint GitHub Actions workflow files
language: golang
types: ["yaml"]
files: "^.github/workflows/"
files: ^\.github/workflows/
entry: actionlint
minimum_pre_commit_version: 3.0.0
- id: actionlint-docker
name: Lint GitHub Actions workflow files
description: Runs actionlint Docker image to lint GitHub Actions workflow files
language: docker_image
types: ["yaml"]
files: "^.github/workflows/"
files: ^\.github/workflows/
entry: rhysd/actionlint:1.6.24
- id: actionlint-system
name: Lint GitHub Actions workflow files
description: Runs system-installed actionlint to lint GitHub Actions workflow files
language: system
types: ["yaml"]
files: "^.github/workflows/"
files: ^\.github/workflows/
entry: actionlint

0 comments on commit 3b9357c

Please sign in to comment.