From 75e28daf8aca6fd71935a6eea671acf6dc75b168 Mon Sep 17 00:00:00 2001 From: Omar Jaroudi Date: Tue, 26 Dec 2023 23:32:41 +0000 Subject: [PATCH] fix: use glob pattern to capture different pre-commit file extensions --- lint/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lint/action.yaml b/lint/action.yaml index 769e864..f9e8401 100644 --- a/lint/action.yaml +++ b/lint/action.yaml @@ -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