dbt-cloud-job-action

The problem I’m having
The dbt-labs/dbt-cloud-job-action ( GitHub - dbt-labs/dbt-cloud-job-action: This action lets you trigger a job run on the dbt platform / dbt Cloud, and retrieve JSON artifacts ) GitHub Action fails with a timeout error when trying to connect to the dbt Cloud API:
Error getting job information from dbt Cloud. AxiosError: timeout of 5000ms exceeded. The dbt Cloud API is taking too long to respond.
he hardcoded 5000ms (5 seconds) timeout is too short when the dbt Cloud API is slow to respond.

The context of why I’m trying to do this
I’m using the official dbt-labs/dbt-cloud-job-action to trigger dbt Cloud jobs from GitHub Actions. The action works when the API responds quickly, but fails intermittently when the API takes longer than 5 seconds.

Feature request
Please add a configurable api_timeout input parameter to allow users to increase the Axios request timeout. For example:
name: Run dbt Cloud Job
uses: dbt-labs/dbt-cloud-job-action@v7.0.0
with:
dbt_cloud_token: ${{ secrets.DBT_CLOUD_TOKEN }}
dbt_cloud_account_id: ${{ secrets.DBT_CLOUD_ACCOUNT_ID }}
dbt_cloud_job_id: ${{ secrets.DBT_CLOUD_JOB_ID }}
cause: “Triggered by GitHub Actions”
failure_on_error: true
api_timeout: 30000 # Allow configurable timeout (in ms)