Revert "Replace pull_request with pull_request_target"
This reverts commit 1ff39f13f5.
This commit is contained in:
parent
9ffe63ee08
commit
3e28357e9c
1 changed files with 1 additions and 4 deletions
5
.github/workflows/e2e_tests.yml
vendored
5
.github/workflows/e2e_tests.yml
vendored
|
|
@ -3,7 +3,7 @@ name: Playwright Tests
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request_target:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
|
|
@ -20,10 +20,7 @@ jobs:
|
|||
sudo apt-get update
|
||||
sudo apt-get install -y libwoff1
|
||||
|
||||
# Security: Explicitly checkout the PR's code, not the target branch
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue