diff --git a/models/marts/metrics.yml b/models/marts/metrics.yml index 6745790..cd6d8c1 100644 --- a/models/marts/metrics.yml +++ b/models/marts/metrics.yml @@ -43,3 +43,5 @@ metrics: label: Active authors type_params: measure: active_authors + filter: | + {{ Dimension('repo__author') }} != 'github-actions[bot]' diff --git a/models/staging/stg_commits.sql b/models/staging/stg_commits.sql index f04dda3..e789e01 100644 --- a/models/staging/stg_commits.sql +++ b/models/staging/stg_commits.sql @@ -17,7 +17,8 @@ renamed as ( email, message, date as datetime, - raw_date + raw_date, + concat('UTC', substr(raw_date, 20)) as utc_offset from source )