diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0c87bad..06ed6e3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -99,3 +99,4 @@ repos: rev: v0.8.0 hooks: - id: action-validator + files: '(^\.github/workflows/.*\.ya?ml$|.*/action\.ya?ml$)' diff --git a/Makefile b/Makefile index f3ec288..a79ce8e 100644 --- a/Makefile +++ b/Makefile @@ -332,7 +332,8 @@ lint-actions: ## Validate GitHub Actions workflows and action.yml files exit 1; \ fi; \ else \ - echo "$(YELLOW)⚠️ pre-commit not found, skipping action-validator$(RESET)"; \ + echo "$(RED)❌ pre-commit not found. Install it via 'make install-tools' before linting$(RESET)"; \ + exit 1; \ fi # Check targets diff --git a/language-version-detect/action.yml b/language-version-detect/action.yml index b93b166..466a6c5 100644 --- a/language-version-detect/action.yml +++ b/language-version-detect/action.yml @@ -5,7 +5,6 @@ name: Language Version Detect description: 'DEPRECATED: This action is deprecated. Inline version detection directly in your actions instead. Detects language version from project configuration files with support for PHP, Python, Go, and .NET.' author: 'Ismo Vuorinen' -deprecated: true branding: icon: code