mirror of
https://github.com/ivuorinen/actions.git
synced 2026-03-20 21:01:09 +00:00
fix(lint): resolve action-validator failure on language-version-detect
- Remove unsupported `deprecated: true` from language-version-detect/action.yml (deprecation already communicated via description field) - Scope action-validator pre-commit hook to workflow and action.yml files only - Make missing pre-commit a hard error in lint-actions target
This commit is contained in:
@@ -99,3 +99,4 @@ repos:
|
||||
rev: v0.8.0
|
||||
hooks:
|
||||
- id: action-validator
|
||||
files: '(^\.github/workflows/.*\.ya?ml$|.*/action\.ya?ml$)'
|
||||
|
||||
3
Makefile
3
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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user