From 66a176f16eb1fe5e57d2e55385dde9e39e4a24de Mon Sep 17 00:00:00 2001 From: Justin van Elst Date: Wed, 15 Jan 2025 19:45:30 +0100 Subject: [PATCH] Fix Main workflow ref Taken from https://github.com/Adyen/adyen-magento2/blob/main/.github/workflows/main.yml#L21 --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 300d0ca9..fc64d6e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,7 @@ jobs: steps: - uses: actions/checkout@v4 with: + ref: ${{ github.event.pull_request.head.sha || github.ref }} fetch-depth: 0 - name: Use PHP ${{ matrix.php-version }}