Skip to content

Commit 3e28357

Browse files
committed
Revert "Replace pull_request with pull_request_target"
This reverts commit 1ff39f1.
1 parent 9ffe63e commit 3e28357

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/e2e_tests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Playwright Tests
33
on:
44
push:
55
branches: [main]
6-
pull_request_target:
6+
pull_request:
77
branches: [main]
88

99
permissions:
@@ -20,10 +20,7 @@ jobs:
2020
sudo apt-get update
2121
sudo apt-get install -y libwoff1
2222
23-
# Security: Explicitly checkout the PR's code, not the target branch
2423
- uses: actions/checkout@v4
25-
with:
26-
ref: ${{ github.event.pull_request.head.sha }}
2724

2825
- uses: actions/setup-node@v4
2926
with:

0 commit comments

Comments
 (0)