-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add var to persist former-agents' roles for SLA metrics #43
Changes from all commits
9e9000e
7279234
56a68df
ba778b9
b5db00f
0ddf561
b6d3096
c245c12
7ea2f4c
bafb884
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: 'auto release' | ||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
branches: | ||
- main | ||
|
||
jobs: | ||
call-workflow-passing-data: | ||
if: github.event.pull_request.merged | ||
uses: fivetran/dbt_package_automations/.github/workflows/auto-release.yml@main | ||
secrets: inherit |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,11 +39,18 @@ final as ( | |
last_login_at, | ||
created_at, | ||
updated_at, | ||
{% endif %} | ||
{% endif -%} | ||
email, | ||
name, | ||
organization_id, | ||
{% if var('internal_user_criteria', false) -%} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't know that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just ran it on dbt-bigquery==1.3.0 with and without providing yeah i think it works similarly to how we provide |
||
case | ||
when role in ('admin', 'agent') then role | ||
when {{ var('internal_user_criteria', false) }} then 'agent' | ||
else role end as role, | ||
{% else -%} | ||
role, | ||
{% endif -%} | ||
ticket_restriction, | ||
time_zone, | ||
locale, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reminder to myself to add this to the transform README (no release needed there tho) after approval