CI: Change github.ref into github.head_ref

This actually allows us to check source branch
This commit is contained in:
Kacper Donat
2026-01-10 00:11:36 +01:00
parent 3f39840f83
commit 702bb830d2

View File

@@ -54,21 +54,21 @@ jobs:
Ubuntu:
needs: [Prepare]
if: "!startsWith(github.ref, 'refs/heads/backport-')"
if: "!startsWith(github.head_ref, 'refs/heads/backport-')"
uses: ./.github/workflows/sub_buildUbuntu.yml
with:
artifactBasename: Ubuntu-${{ github.run_id }}
Windows:
needs: [Prepare]
if: "!startsWith(github.ref, 'refs/heads/backport-')"
if: "!startsWith(github.head_ref, 'refs/heads/backport-')"
uses: ./.github/workflows/sub_buildWindows.yml
with:
artifactBasename: Windows-${{ github.run_id }}
Lint:
needs: [Prepare]
if: "!startsWith(github.ref, 'refs/heads/backport-')"
if: "!startsWith(github.head_ref, 'refs/heads/backport-')"
uses: ./.github/workflows/sub_lint.yml
with:
artifactBasename: Lint-${{ github.run_id }}