diff --git a/.github/workflows/wpt-test.yml b/.github/workflows/wpt-test.yml index a81e9fd7..19696100 100644 --- a/.github/workflows/wpt-test.yml +++ b/.github/workflows/wpt-test.yml @@ -1,7 +1,7 @@ name: Tests on: - pull_request: + pull_request_target: branches: - main paths-ignore: @@ -13,8 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: + ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - name: Install dependencies