Skip to content

Commit 32ef185

Browse files
committed
ci: Checkout pull request ref instead
Commit 1780630 set the pull request event to `pull_request_target`, which means the pipelines run on the base ref with the secrets from base as well. That's all fine, but we actually want to test the code on the pull request ref
1 parent 1e7f8eb commit 32ef185

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
steps:
1313
- name: Checkout hypernode-deploy
1414
uses: actions/checkout@v3
15+
with:
16+
ref: ${{ github.event.pull_request.head.ref }}
1517
- name: Run general testsuite
1618
if: ${{ matrix.testsuite == 'general' }}
1719
run: MAGENTO_REPO=./magento2 ./runtests.sh general

0 commit comments

Comments
 (0)