diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index b3b8f1b..bd1d8bb 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -2,7 +2,7 @@ name: Test pull request on: - pull_request: + pull_request_target: types: - opened - synchronize @@ -41,6 +41,8 @@ jobs: steps: - name: Checkout the repo uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Install Helm uses: azure/setup-helm@v4