From 12fcffbd9e263db580cd73c90b4bc8df7ab1c14b Mon Sep 17 00:00:00 2001 From: paulzierep Date: Tue, 8 Oct 2024 11:14:00 +0200 Subject: [PATCH] use ref: ${{ github.head_ref }} --- .github/workflows/run_tests.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 28431a56..ea094792 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -8,6 +8,8 @@ jobs: steps: - name: Checkout main uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} - uses: actions/setup-python@v5 with: python-version: '3.11' @@ -29,6 +31,8 @@ jobs: steps: - name: Checkout main uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} - uses: actions/setup-python@v5 with: python-version: '3.11'