Releases: quokkify/compose-health-check-action
Releases · quokkify/compose-health-check-action
Release list
v2.4.0
v2.4.0
- Added optional repository-owned
before-compose-hookandafter-health-hooklifecycle scripts around Compose startup and built-in health checks. - Resolved and validated both hook paths inside
GITHUB_WORKSPACEbefore startup, rejecting absolute paths, traversal, missing files, and workspace-escaping symlinks. - Ran hooks in a strict lifecycle shell so before-hook exports reach Compose interpolation and unhandled hook failures stop the lifecycle with the original exit status.
- Passed normalized Compose profiles to hooks while preserving
docker-commandprofile-precedence semantics. - Suppressed successful JSON lifecycle output when bootstrap, Compose health, or project readiness fails, with execution-level Bats regression coverage.
Full Changelog: v2.3.0...v2.4.0
v2.3.0
v2.3.0
- Hardened composite-action input transport so shell metacharacters cannot be evaluated as generated shell source.
- Corrected Compose service parsing for scaled services and operand-taking options, including
--no-attachand-t/--timeout. - Made explicit
-p/--project-nameselection authoritative with Docker Compose last-value-wins semantics and safe ordered fallbacks when no containers exist yet. - Scoped container discovery and diagnostics to the resolved Compose project and fail closed when the project cannot be resolved.
- Pinned internal workflow actions to immutable commits and disabled persisted checkout credentials.
Full Changelog: v2.2.0...v2.3.0
v2.2.0
v2.2.0 (27.01.2026)
- When
docker compose upfails but a container exits with non-zero, treat it as unhealthy and print health/log diagnostics.
Full Changelog: v2.1.1...v2.2.0
v2.1.1
v2.1.1 (23.01.2026)
- Fixed
compose-servicesinput wiring to avoid unbound variable errors in GitHub Actions. - On
docker composefailures, print logs for unhealthy/exited containers to aid diagnostics.
Full Changelog: v2.1.0...v2.1.1
v.2.1.0
v2.1.0 (23.01.2026)
- Added
log-linesinput to control diagnostics output length - Added Bats coverage for
log-linesin v1/v2 flows - Added
compose-services(new) and deprecatedservicesinput - Added
compose-profilesinput to pass compose profiles in input-based mode - Reused compose command builder across action and tests to avoid drift
- Added project name inputs (
compose-project-name,auto-apply-project-name,project-name-env-file) - Auto-detect project name from running compose containers and persist to env file
Full Changelog: v2.0.0...v2.1.0
v2.0.0
v2.0.0 (18.01.2026)
- Added
docker-commandinput to run a customdocker composecommand - Default to checking all services when none are specified
- Hardened input parsing to avoid unsafe eval/word-splitting
- Expanded Bats coverage with v1/v2 flows and quoted-path scenarios
Full Changelog: v1...v2.0.0
v1.1.1
v1.1.1 (25.12.2025)
Full Changelog: v1.1.0...v1.1.1
v1.1.0
v1.1.0 (23.12.2025)
- Added JSON report generation mechanism with configurable output format (text, json, or both) #23
- Introduced
report-formatinput andreport_json_b64output for machine-readable health check reports - Enhanced summary statistics with aggregated counters across all service states
- Introduced
- Implemented comprehensive test suite using BATS (Bash Automated Testing System) #24
- Added test coverage for healthy, unhealthy, compose-failed, and no-services scenarios
- Replaced individual workflow-based tests with unified BATS test runner and JUnit reporting
Full Changelog: v1.0.2...v1.1.0
v1.0.2
v1.0.2 * (22.12.2025)
- Added support for one-shot containers with
depends_onrelations by detecting exit codes - Improved service status detection to include stopped containers and categorize states (HEALTHY, COMPLETED, UNHEALTHY, FAILED, UP, NO_CONTAINERS)
- Enhanced summary statistics to reflect actual runtime states across all services
Full Changelog: v1.0.1...v1.0.2
v1.0.1
Full Changelog: v1.0.0...v1.0.1