Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ jobs:
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-interval 1s
--health-timeout 5s
--health-retries 5
--health-retries 30
Comment on lines +67 to +69
Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change only updates the PostgreSQL healthcheck values in this file, but there are other PostgreSQL service container examples in the docs that still use the old --health-interval 10s --health-timeout 5s --health-retries 5 values:

  • content/actions/reference/workflows-and-actions/contexts.md (line 417)
  • content/actions/tutorials/migrate-to-github-actions/manual-migrations/migrate-from-circleci.md (lines 242 and 391)

For consistency, those examples should ideally be updated in this PR as well, so readers don't encounter conflicting recommendations depending on which page they land on.

Suggested change
--health-interval 1s
--health-timeout 1s
--health-retries 30
--health-interval 10s
--health-timeout 5s
--health-retries 5

Copilot uses AI. Check for mistakes.
steps:
# Downloads a copy of the code in your repository before running CI tests
Expand Down Expand Up @@ -117,9 +117,9 @@ jobs:
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-interval 1s
--health-timeout 5s
--health-retries 5
--health-retries 30
```
### Configuring the steps for jobs in containers
Expand Down Expand Up @@ -182,9 +182,9 @@ jobs:
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-interval 1s
--health-timeout 5s
--health-retries 5
--health-retries 30
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
Expand Down Expand Up @@ -239,9 +239,9 @@ jobs:
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-interval 1s
--health-timeout 5s
--health-retries 5
--health-retries 30
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
Expand Down
Loading