Skip to content

feat(deploy): add wait-for-ready feature#8

Merged
anneschuth merged 1 commit into
mainfrom
feat/wait-for-ready
Feb 2, 2026
Merged

feat(deploy): add wait-for-ready feature#8
anneschuth merged 1 commit into
mainfrom
feat/wait-for-ready

Conversation

@robbertbos

@robbertbos robbertbos commented Jan 31, 2026

Copy link
Copy Markdown
Member

Description

Add optional health checking to wait for deployments to be reachable before continuing. This ensures that workflows can reliably wait for a deployment to be ready before proceeding with subsequent steps like integration tests.

New inputs:

  • wait-for-ready: enable waiting (default: false)
  • health-endpoint: path to check (default: /)
  • wait-timeout: max wait time in seconds (default: 300)
  • wait-interval: time between checks (default: 10)

When combined with comment-on-pr, the PR comment only appears after the deployment is healthy.

Type of Change

  • Bug fix
  • New feature
  • Breaking change (changes to action inputs/outputs)
  • Documentation update

Checklist

  • I have tested these changes locally
  • I have updated the documentation (if applicable)
  • My changes follow the existing code style
  • I have added/updated comments where necessary

Testing

  • Verified bash script logic locally
  • Validated action.yml syntax with actionlint
  • Updated README examples to use the new feature

Breaking Changes

None. All new inputs are optional with sensible defaults.

Add optional health checking to wait for deployments to be reachable
before continuing. New inputs:
- wait-for-ready: enable waiting (default: false)
- health-endpoint: path to check (default: /)
- wait-timeout: max wait time in seconds (default: 300)
- wait-interval: time between checks (default: 10)

Also updates README:
- Add wait-for-ready documentation and examples
- Replace manual health check script with built-in feature
- Use generic example URLs instead of specific domains
- Format tables for better readability
@anneschuth anneschuth merged commit 78fbc52 into main Feb 2, 2026
7 checks passed
@anneschuth anneschuth deleted the feat/wait-for-ready branch February 2, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants