From f08082fb3b8c008409325ab0ef541f156f4169f6 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Fri, 24 Jan 2025 08:39:00 +0100 Subject: [PATCH] Checkout the commit as is in the PR, not if merged into the base --- .gitea/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 8b1f5a2..8c05e89 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -21,8 +21,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - depth: 2 token: ${{ secrets.GITHUB_TOKEN }} + ref: ${{ github.head_ref }} # Checkout the actual branch, not the result if merged into the base - uses: ruby/setup-ruby@v1.207.0 - run: bundle install - &postgres_wait