Skip to content

Commit

Permalink
fix event_name
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Feb 1, 2024
1 parent 1b66245 commit 299c731
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci_dbt_core_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

name: "Test Branches of dbt-core + dbt-common"
run-name: >-
if [[ ${{ github.event.name }} == "workflow_dispatch" or ${{ github.event.name }} == "workflow_call"]]; then
if [[ ${{ github.event_name }} == "workflow_dispatch" or ${{ github.event_name }} == "workflow_call"]]; then
"Test dbt-core@${{ inputs.dbt-core-ref }} with dbt-common@${{ inputs.dbt-common-ref }}"
fi
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
echo "dbt-core-ref=main"
fi
if [[ -z "${{ github.event.inputs.dbt-common-ref }}" ]]; then
if [[ "${{ github.event.name }}" == "merge_group" ]]; then
if [[ "${{ github.event_name }}" == "merge_group" ]]; then
echo "dbt-common-ref=${{ github.event.pull_request.merge_commit_sha }}"
else
echo "dbt-common-ref=${{ github.event.pull_request.base.sha }}"
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
# dbt-core-integration-metadata:
# name: integration test metadata generation
# runs-on: ubuntu-latest
# if: ${{ github.event.name != 'pull_request' }}
# if: ${{ github.event_name != 'pull_request' }}
# outputs:
# split-groups: ${{ steps.generate-split-groups.outputs.split-groups }}
# include: ${{ steps.generate-include.outputs.include }}
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:

# dbt-core-integration-tests:
# name: (${{ matrix.split-group }}) integration test / python ${{ matrix.python-version }} / ${{ matrix.os }}
# if: ${{ github.event.name != 'pull_request' }}
# if: ${{ github.event_name != 'pull_request' }}

# runs-on: ${{ matrix.os }}
# timeout-minutes: 30
Expand Down Expand Up @@ -258,11 +258,11 @@ jobs:
# exit 1

# - name: "Integration Tests Passed"
# if: ${{ github.event.name != 'pull_request' }}
# if: ${{ github.event_name != 'pull_request' }}
# run: |
# echo "::notice title='Integration test suite passed'"

# - name: "Integration Tests Skipped"
# if: ${{ github.event.name == 'pull_request' }}
# if: ${{ github.event_name == 'pull_request' }}
# run: |
# echo "::notice title='Integration test suite skipped on Pull Requests'"

0 comments on commit 299c731

Please sign in to comment.