{"id":36991044,"url":"https://github.com/dbt-labs/dbt-cloud-job-action","last_synced_at":"2026-04-24T00:01:17.485Z","repository":{"id":262504152,"uuid":"862505682","full_name":"dbt-labs/dbt-cloud-job-action","owner":"dbt-labs","description":"This action lets you trigger a job run on the dbt platform / dbt Cloud, and retrieve JSON artifacts","archived":false,"fork":false,"pushed_at":"2026-01-20T14:57:13.000Z","size":6772,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-13T09:34:35.233Z","etag":null,"topics":["dbt","dbt-cloud","github-action"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"fal-ai/dbt-cloud-action","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbt-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-24T17:59:34.000Z","updated_at":"2026-02-12T22:28:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"13b293a2-ec65-456e-90b7-614b330fa562","html_url":"https://github.com/dbt-labs/dbt-cloud-job-action","commit_stats":null,"previous_names":["b-per/dbt-cloud-job-action","dbt-labs/dbt-cloud-job-action"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dbt-labs/dbt-cloud-job-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbt-labs%2Fdbt-cloud-job-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbt-labs%2Fdbt-cloud-job-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbt-labs%2Fdbt-cloud-job-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbt-labs%2Fdbt-cloud-job-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbt-labs","download_url":"https://codeload.github.com/dbt-labs/dbt-cloud-job-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbt-labs%2Fdbt-cloud-job-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32203362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T20:19:26.138Z","status":"ssl_error","status_checked_at":"2026-04-23T20:19:23.520Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dbt","dbt-cloud","github-action"],"created_at":"2026-01-13T23:41:06.280Z","updated_at":"2026-04-24T00:01:17.478Z","avatar_url":"https://github.com/dbt-labs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dbt Cloud job action\n\nOriginally a fork of https://github.com/fal-ai/dbt-cloud-action with additional capabilities as the original repo and action seem inactive:\n\n- adds the ability to cancel jobs when the action is cancelled\n- adds the ability to provide a GitHub PR ID\n- downloads more artefacts than just `run_results.json`\n- rewritten from JS to TS to improve future maintenance\n\nThis action lets you trigger a job run on [dbt Cloud](https://cloud.getdbt.com), wait for the results of the job and fetch the `run_results.json`, `manifest.json` and `catalog.json` artifacts.\nIf your dbt cloud job does not generate docs, set `fetch_catalog: false`\n\n## Inputs\n\n### Credentials\n\n- `dbt_cloud_url` - dbt Cloud [API URL](https://docs.getdbt.com/dbt-cloud/api-v2#/) (Default: `https://cloud.getdbt.com`)\n- `dbt_cloud_token` - dbt Cloud [API token](https://docs.getdbt.com/docs/dbt-cloud/dbt-cloud-api/service-tokens)\n- `dbt_cloud_account_id` - dbt Cloud Account ID\n- `dbt_cloud_job_id` - dbt Cloud Job ID\n\nWe recommend passing sensitive variables as GitHub secrets. [Example usage](https://github.com/fal-ai/fal_bike_example/blob/main/.github/workflows/fal_dbt.yml).\n\n### Action configuration\n\n- `failure_on_error` - Boolean to make the action report a failure when dbt-cloud runs.\n- `interval` - The interval between polls in seconds (Default: `30`)\n- `get_artifacts` - Whether run results and other artifacts are fetched from dbt cloud. If using this action in other contexts this can be set to `false`, useful for jobs which do not generate artifacts.\n- `fetch_catalog` - Whether the catalog.json is fetched from dbt cloud. If using this action in other contexts this can be set to `false`, useful for jobs which do not generate a catalog.\n- `api_timeout` - Timeout in milliseconds for dbt Cloud API requests (Default: `5000`). Increase this if you experience intermittent timeout errors when the dbt Cloud API is slow to respond.\n\n### dbt Cloud Job configuration\n\nUse any of the [documented options for the dbt API](https://docs.getdbt.com/dbt-cloud/api-v2#tag/Jobs/operation/triggerRun).\n\n- `cause` (Default: `Triggered by a Github Action`)\n- `git_sha`\n- `git_branch`\n- `schema_override`\n- `dbt_version_override`\n- `threads_override`\n- `target_name_override`\n- `generate_docs_override`\n- `timeout_seconds_override`\n- `steps_override`: pass a YAML-parseable string. (e.g. `steps_override: '[\"dbt seed\", \"dbt run\"]'`)\n- `github_pull_request_id`\n\n## Examples\n\n### Trigger a job and override the steps\n\n```yaml\nname: Run dbt Cloud job\non:\n  workflow_dispatch:\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: dbt-labs/dbt-cloud-job-action@v6.0.0\n        id: dbt_cloud_job_run\n        with:\n          dbt_cloud_token: ${{ secrets.DBT_CLOUD_API_TOKEN }}\n          dbt_cloud_account_id: ${{ secrets.DBT_CLOUD_ACCOUNT_ID }}\n          dbt_cloud_job_id: ${{ secrets.DBT_CLOUD_JOB_ID }}\n          failure_on_error: true\n          steps_override: |\n            - dbt build -s my_model+\n            - dbt docs generate\n```\n\n### Trigger a CI job previously created\n\nThis will trigger the CI job.\nIf a new commit is pushed to the PR, the current job gets cancelled and a new one is created.\n\n```yaml\nname: Run dbt Cloud CI job\non:\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: dbt-labs/dbt-cloud-job-action@v6.0.0\n        id: dbt_cloud_ci_job_run\n        with:\n          dbt_cloud_token: ${{ secrets.DBT_CLOUD_API_TOKEN }}\n          dbt_cloud_account_id: ${{ secrets.DBT_CLOUD_ACCOUNT_ID }}\n          dbt_cloud_job_id: ${{ secrets.DBT_CLOUD_JOB_ID }}\n          git_branch: ${{ github.head_ref }}\n          target_name_override: dbt_pr_${{ github.event.pull_request.number }}\n          github_pull_request_id: ${{ github.event.pull_request.number }}\n          cause: \"CI job triggered from GH action\"\n          failure_on_error: true\n```\n\n# Disclaimer\n\nThis GitHub Action is provided as a free, open-source integration under the Apache 2.0 license without any assumption of liability by dbt Labs. It is not a paid offering and is provided without any service level agreements or support commitments. This Action is not intended to independently collect, store, or process personal data, and any data handling occurs solely within GitHub Actions’ native runtime and dbt Cloud in accordance with their respective terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbt-labs%2Fdbt-cloud-job-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbt-labs%2Fdbt-cloud-job-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbt-labs%2Fdbt-cloud-job-action/lists"}