Skip to content

Commit

Permalink
fix: use glob pattern to capture different pre-commit file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarJaroudi committed Dec 26, 2023
1 parent 02b6802 commit 75e28da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lint/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ runs:
id: check_pre_commit_config
uses: andstor/file-existence-action@v2
with:
files: ".pre-commit-config.yaml, .pre-commit-config.yml"
files: .pre-commit-config.*
- name: Pre-commit
if: steps.check_pre_commit_config.outputs.files_exists == 'true'
uses: open-turo/action-pre-commit@v1
Expand Down

0 comments on commit 75e28da

Please sign in to comment.