From a6222b2496818371bed1d5c7cab1cb54baa0c7ee Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Thu, 22 Jan 2026 17:22:17 +0000 Subject: [PATCH] workflows: use the repository owner instead of the name We don't need to specify the repository name and its owner also meets our requirements. That it is needed to facilitate reusing the workflows in other qualcomm-linux repos then. Signed-off-by: Jose Quaresma --- .github/workflows/build-yocto.yml | 8 ++++---- .github/workflows/monthly.yml | 2 +- .github/workflows/repolinter.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-yocto.yml b/.github/workflows/build-yocto.yml index cb022570f..54eeb1fd1 100644 --- a/.github/workflows/build-yocto.yml +++ b/.github/workflows/build-yocto.yml @@ -19,7 +19,7 @@ env: jobs: kas-setup: - if: github.repository == 'qualcomm-linux/meta-qcom' + if: github.repository_owner == 'qualcomm-linux' runs-on: [self-hosted, qcom-u2404, amd64] steps: - name: Update kas-container @@ -48,7 +48,7 @@ jobs: yocto-run-checks: needs: kas-setup - if: github.repository == 'qualcomm-linux/meta-qcom' + if: github.repository_owner == 'qualcomm-linux' runs-on: [self-hosted, qcom-u2404, amd64] steps: - uses: actions/checkout@v4 @@ -68,7 +68,7 @@ jobs: compile_warm_up: needs: [kas-setup, yocto-run-checks] - if: github.repository == 'qualcomm-linux/meta-qcom' + if: github.repository_owner == 'qualcomm-linux' runs-on: [self-hosted, qcom-u2404, amd64] strategy: fail-fast: true @@ -110,7 +110,7 @@ jobs: compile: needs: compile_warm_up - if: github.repository == 'qualcomm-linux/meta-qcom' + if: github.repository_owner == 'qualcomm-linux' runs-on: [self-hosted, qcom-u2404, amd64] outputs: url: ${{ steps.compile_kas.outputs.url }} diff --git a/.github/workflows/monthly.yml b/.github/workflows/monthly.yml index 47c3fc111..3738f6f80 100644 --- a/.github/workflows/monthly.yml +++ b/.github/workflows/monthly.yml @@ -6,7 +6,7 @@ on: jobs: sstate-cache-cleanup: - if: github.repository == 'qualcomm-linux/meta-qcom' + if: github.repository_owner == 'qualcomm-linux' runs-on: [self-hosted, qcom-u2404, amd64-ssd] steps: - name: Clean up the persistant sstate-cache dir diff --git a/.github/workflows/repolinter.yml b/.github/workflows/repolinter.yml index 7cd59cc33..7102d7576 100644 --- a/.github/workflows/repolinter.yml +++ b/.github/workflows/repolinter.yml @@ -9,7 +9,7 @@ on: jobs: repolinter: - if: github.repository == 'qualcomm-linux/meta-qcom' + if: github.repository_owner == 'qualcomm-linux' runs-on: ubuntu-latest steps: - name: Checkout Repo