Adding the GitHub Action to your repository
The Prizm dbt Impact Analysis action is configured entirely within your dbt GitHub repository. There is no Prizm portal configuration required. Setup involves three steps: gathering the required values, adding secrets and variables to the repository, and committing the workflow file.Prerequisites
- GitHub Actions enabled on the dbt repository
- The repository’s default GitHub Actions token must have read and write permissions for pull requests — see GitHub documentation
- A dbt connection configured in Prizm with lineage data for the monitored repository
Step 1: Gather required values
Step 2: Add secrets and variables to the repository
In your GitHub repository, go to Settings → Secrets and variables → Actions. Create the following Secrets:
Create the following Variables:
PRIZM_TOKEN and TOKEN must be stored as Secrets, not Variables — they are sensitive credentials. CLIENT_LINK_URL and DBT_MCP_BASE_URL are non-sensitive and are stored as Variables.Step 3: Add the workflow file
Create the file.github/workflows/dbt-impact-analysis.yml in your dbt repository with the following content:
Step 4: Verify
Open a pull request that modifies any.sql, .yml, or .csv file in the repository. The workflow runs automatically and adds an impact analysis comment to the PR. On subsequent pushes to the same PR, the comment is updated in place.
If the action runs but no assets appear in the comment, confirm that the modified models exist in Prizm’s lineage graph and that the DBT_ENVIRONMENTS value matches a configured dbt environment name in Prizm.