From 13583c787cc5036ed499e602ba228bb1e1406543 Mon Sep 17 00:00:00 2001 From: Max Ostapenko <1611259+max-ostapenko@users.noreply.github.com> Date: Tue, 24 Oct 2023 11:19:17 +0200 Subject: [PATCH] Adjust tests workflow for fork PRs (#97) changed trigger Co-authored-by: Max Ostapenko --- .github/workflows/wpt-test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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