From ccbdf853be5307b84b9b73ff434d7c82822fa1cb Mon Sep 17 00:00:00 2001 From: Bernardo Meireles Date: Wed, 4 Dec 2024 11:45:31 +0000 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05c5a5f..ee7fcdd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,9 +4,8 @@ on: push: branches: - main - pull_request: - branches: - - main + pull_request_target: + types: [opened, synchronize, reopened] jobs: run-tests: @@ -29,8 +28,10 @@ jobs: DBT_TEST_USER_3: dbt_test_user_3 steps: - - name: Check out repository + - name: Check out PR uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Create Docker Network run: |