Revert "Replace pull_request with pull_request_target"

This reverts commit 1ff39f13f5.
This commit is contained in:
Marc Abramowitz 2025-06-20 13:36:00 -07:00
commit 3e28357e9c

View file

@ -3,7 +3,7 @@ name: Playwright Tests
on: on:
push: push:
branches: [main] branches: [main]
pull_request_target: pull_request:
branches: [main] branches: [main]
permissions: permissions:
@ -20,10 +20,7 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install -y libwoff1 sudo apt-get install -y libwoff1
# Security: Explicitly checkout the PR's code, not the target branch
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with: