diff --git a/.github/workflows/build-firmware.yaml b/.github/workflows/build-firmware.yaml index f2eab6bc..aa8c3afe 100644 --- a/.github/workflows/build-firmware.yaml +++ b/.github/workflows/build-firmware.yaml @@ -100,7 +100,7 @@ jobs: id: determine_ref run: | if [[ "${{ github.ref }}" != "refs/heads/main" ]]; then - sed -i "s/ref: .*/ref: ${{ github.head_ref || github.ref }}/g" ${{ matrix.firmware }}/${{ matrix.device }}.yaml + sed -i "s/ref: .*/ref: ${{ github.head_ref || 'klaas-2024-035' }}/g" ${{ matrix.firmware }}/${{ matrix.device }}.yaml else echo "Skipping sed command because the branch is main." fi