File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11name : Test all warehouse platforms
22on :
3- pull_request :
3+ pull_request_target :
44 branches : ["master"]
55 # Allows you to run this workflow manually from the Actions tab
66 workflow_dispatch :
6666 warehouse-type : ${{ matrix.warehouse-type }}
6767 dbt-version : ${{ matrix.dbt-version }}
6868 elementary-ref : ${{ inputs.elementary-ref }}
69- dbt-data-reliability-ref : ${{ inputs.dbt-data-reliability-ref }}
69+ dbt-data-reliability-ref : ${{ inputs.dbt-data-reliability-ref || (github.event_name == 'pull_request_target' && github.event.pull_request.head.sha) || '' }}
7070 secrets : inherit
7171
7272 notify_failures :
Original file line number Diff line number Diff line change 5353jobs :
5454 test :
5555 runs-on : ubuntu-latest
56+ environment : elementary_test_env # This is a github environment (not to be confused with env vars)
5657 concurrency :
5758 # This is what eventually defines the schema name in the data platform.
5859 group : tests_${{ inputs.warehouse-type }}_dbt_${{ inputs.dbt-version }}_${{ github.head_ref || github.ref_name }}
You can’t perform that action at this time.
0 commit comments