From 26c47c959348f94539a297df7a1015516296c16f Mon Sep 17 00:00:00 2001 From: Federico Perini Date: Mon, 10 Mar 2025 15:01:13 +0100 Subject: [PATCH] force inoput sha --- .github/workflows/tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 056e824..63bb7a7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,11 @@ jobs: - name: Checkout PR commit uses: actions/checkout@v4 with: - ref: ${{ github.event.inputs.head_sha || github.sha }} + ref: ${{ github.event.inputs.head_sha }} + + - name: Debug head_sha + run: echo "head_sha=${{ github.event.inputs.head_sha }}" + - name: Set up Homebrew id: set-up-homebrew @@ -55,7 +59,7 @@ jobs: if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' env: HOMEBREW_ARCH: ${{ matrix.arch }} - GITHUB_SHA: ${{ github.event.inputs.head_sha || github.sha }} + GITHUB_SHA: ${{ github.event.inputs.head_sha }} - name: Upload bottles as artifact if: always() && (github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch')