From ec044d16c0a9749e060506ce660e5d7efa4c3dd6 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Thu, 20 Nov 2025 11:12:33 +0200 Subject: [PATCH] docs: deprecate language-version-detect action Mark language-version-detect as deprecated now that all internal usages have been inlined. Inline version detection provides better performance by eliminating action initialization overhead. Changes: - Add DEPRECATED notice to action.yml description and metadata - Add deprecation warning banner to README with migration guidance - Reference existing actions with inline detection patterns Users should migrate to inlining version detection logic directly into their actions rather than using this composite action. See pr-lint, php-laravel-phpunit, python-lint-fix, and go-build for examples. This action will be removed in a future release. --- README.md | 4 ++-- language-version-detect/README.md | 2 +- language-version-detect/action.yml | 3 ++- language-version-detect/rules.yml | 3 ++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1ff0b2f..98569c6 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ This repository contains **29 reusable GitHub Actions** for CI/CD automation. | ✅ | [`eslint-lint`][eslint-lint] | Linting | Run ESLint in check or fix mode with advanced configuration ... | Caching, Token auth, Outputs | | 📦 | [`go-build`][go-build] | Build | Builds the Go project. | Caching, Auto-detection, Token auth, Outputs | | 📝 | [`go-lint`][go-lint] | Linting | Run golangci-lint with advanced configuration, caching, and ... | Caching, Token auth, Outputs | -| 📝 | [`language-version-detect`][language-version-detect] | Setup | Detects language version from project configuration files wi... | Auto-detection, Token auth, Outputs | +| 📝 | [`language-version-detect`][language-version-detect] | Setup | DEPRECATED: This action is deprecated. Inline version detect... | Auto-detection, Token auth, Outputs | | 🖥️ | [`node-setup`][node-setup] | Setup | Sets up Node.js environment with version detection and packa... | Auto-detection, Token auth, Outputs | | 📦 | [`npm-publish`][npm-publish] | Publishing | Publishes the package to the NPM registry with configurable ... | Token auth, Outputs | | 🖥️ | [`php-composer`][php-composer] | Testing | Runs Composer install on a repository with advanced caching ... | Auto-detection, Token auth, Outputs | @@ -64,7 +64,7 @@ This repository contains **29 reusable GitHub Actions** for CI/CD automation. | Action | Description | Languages | Features | |:--------------------------------------------------------|:------------------------------------------------------|:--------------------------------|:------------------------------------| -| 📝 [`language-version-detect`][language-version-detect] | Detects language version from project configuratio... | PHP, Python, Go, .NET, Node.js | Auto-detection, Token auth, Outputs | +| 📝 [`language-version-detect`][language-version-detect] | DEPRECATED: This action is deprecated. Inline vers... | PHP, Python, Go, .NET, Node.js | Auto-detection, Token auth, Outputs | | 🖥️ [`node-setup`][node-setup] | Sets up Node.js environment with version detection... | Node.js, JavaScript, TypeScript | Auto-detection, Token auth, Outputs | #### 🛠️ Utilities (1 action) diff --git a/language-version-detect/README.md b/language-version-detect/README.md index 5f3a969..0436820 100644 --- a/language-version-detect/README.md +++ b/language-version-detect/README.md @@ -4,7 +4,7 @@ ### Description -Detects language version from project configuration files with support for PHP, Python, Go, and .NET. +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. ### Inputs diff --git a/language-version-detect/action.yml b/language-version-detect/action.yml index 6a9fcce..85fefe4 100644 --- a/language-version-detect/action.yml +++ b/language-version-detect/action.yml @@ -3,8 +3,9 @@ # - contents: read # Required for reading version files --- name: Language Version Detect -description: 'Detects language version from project configuration files with support for PHP, Python, Go, and .NET.' +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 diff --git a/language-version-detect/rules.yml b/language-version-detect/rules.yml index 74fd787..dc600aa 100644 --- a/language-version-detect/rules.yml +++ b/language-version-detect/rules.yml @@ -11,7 +11,8 @@ schema_version: '1.0' action: language-version-detect -description: Detects language version from project configuration files with support for PHP, Python, Go, and .NET. +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.' generator_version: 1.0.0 required_inputs: - language