From 144708990979d985f77a640e6fd6fa97861efd47 Mon Sep 17 00:00:00 2001 From: Petar Shtuchkin Date: Fri, 7 Nov 2025 11:23:16 +0200 Subject: [PATCH] Fix unstable checkout --- .github/workflows/apt.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/apt.yml b/.github/workflows/apt.yml index 721f676..ac5b20a 100644 --- a/.github/workflows/apt.yml +++ b/.github/workflows/apt.yml @@ -36,6 +36,15 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + ref: >- + ${{ (github.ref_name == 'unstable' + || github.event_name == 'workflow_dispatch' + || github.event_name == 'workflow_call' + || github.event_name == 'schedule') + && 'unstable' + || '' + }} - name: Parse vars id: parse @@ -65,4 +74,4 @@ jobs: || github.event_name == 'schedule') && 'unstable' || '' - }} \ No newline at end of file + }}