Skip to content
Closed
Show file tree
Hide file tree
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
25 changes: 25 additions & 0 deletions .github/workflows/elementary-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Elementary Data Quality Review

on:
pull_request:
paths:
- "models/**/*.sql"
- "models/**/*.yml"
- "dbt_project.yml"

jobs:
elementary-review:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
issues: write
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0

- uses: elementary-data/elementary-ci@v1
with:
elementary-api-key: ${{ secrets.ELEMENTARY_API_KEY }}
elementary-api-url: "https://dev.api.elementary-data.com"
2 changes: 1 addition & 1 deletion models/customers.sql
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ final as (

from customers

left join customer_orders
inner join customer_orders
on customers.customer_id = customer_orders.customer_id

left join customer_payments
Expand Down
2 changes: 1 addition & 1 deletion models/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2

models:
- name: customers
description: This table has basic information about a customer, as well as some derived facts based on a customer's orders
description: This table has basic information about a customer, as well as some derived facts based on a customer's orders aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
config:
tags: ["PII"]

Expand Down
Loading