Skip to content

Choose a tag to compare

@HarryVasanth HarryVasanth released this 18 Feb 14:36
v1
e56e039

Wait for HTTP(S) Endpoint Action v1.1.0 ⏳

🎉 Major Update: New Features & Critical Fixes (2025-02-18)

🚀 Features

  • Added HTTP endpoint polling with configurable intervals
  • Implemented timeout handling with millisecond precision
  • Added multi-status code support (e.g., 200,201,202)
  • [NEW] Bearer Token Support: Added bearer-token input to authenticate with secured endpoints
  • [NEW] Insecure Mode: Added insecure flag to bypass TLS/SSL verification (useful for local dev or self-signed certs)
  • [NEW] Follow Redirects: Added follow-redirects flag to automatically follow HTTP redirects
  • [NEW] Enhanced Error Logging: cURL errors (e.g., connection refused, DNS issues) are now explicitly captured and logged instead of failing silently

🐛 Bug Fixes

  • [CRITICAL] Subshell Exit Bug: Fixed an issue where successful status codes only exited a subshell, causing the action to incorrectly wait until the full timeout duration.
  • Timer Precision: Replaced bash floating-point time calculations with strict iteration tracking to prevent early/late timeout misfires.

🛠️ Optimizations

  • Security: Script is now fully ShellCheck compliant, utilizing secure positional parameters to prevent word-splitting vulnerabilities.
  • Docker Footprint: Updated to Alpine 3.19 and implemented apk cache cleanup to reduce the overall Docker image size.