Skip to content

Commit

Permalink
ci: Checkout pull request ref instead
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tdgroot committed Jul 4, 2024
1 parent 1e7f8eb commit 32ef185
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout hypernode-deploy
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Run general testsuite
if: ${{ matrix.testsuite == 'general' }}
run: MAGENTO_REPO=./magento2 ./runtests.sh general
Expand Down

0 comments on commit 32ef185

Please sign in to comment.