Skip to content

Commit b9ae594

Browse files
committed
set pull request to use the main env, with the git commit of the incomming commit
1 parent 66f3f91 commit b9ae594

File tree

2 files changed

+27
-25
lines changed

2 files changed

+27
-25
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
aws_region:
66
description: 'AWS region for deployment'
77
default: 'us-east-1'
8-
pull_request:
8+
pull_request_target:
99
branches: [main]
1010

1111
permissions:
@@ -19,6 +19,8 @@ jobs:
1919
timeout-minutes: 30
2020
steps:
2121
- uses: actions/checkout@v6
22+
with:
23+
ref: ${{ github.event.pull_request.head.sha }}
2224
- uses: actions/setup-node@v6
2325
with:
2426
node-version: '20.x'

package-lock.json

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)