From bb50d6e0bf8a1a2b660c38bf6b9769b7e4913d41 Mon Sep 17 00:00:00 2001 From: Yash Pankhania Date: Mon, 23 Sep 2024 12:44:23 +1000 Subject: [PATCH] added branch ref --- .github/workflows/compile_requirements.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile_requirements.yaml b/.github/workflows/compile_requirements.yaml index 3c377b8a..bf708eb3 100644 --- a/.github/workflows/compile_requirements.yaml +++ b/.github/workflows/compile_requirements.yaml @@ -14,7 +14,9 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} # Checkout the branch from the pull request - name: Run pip-compile in Docker run: |