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 + }}