From bd942a689f2b46ff3c72cd1128c8bc7935514f62 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Tue, 27 Feb 2024 18:31:28 +0100 Subject: [PATCH] only run if in an inventree org repo --- .github/workflows/qc_checks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index 50d0b0fa90..fafc967432 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -178,7 +178,7 @@ jobs: name: Push new schema runs-on: ubuntu-20.04 needs: [paths-filter, schema] - if: needs.schema.result == 'success' && github.ref == 'refs/heads/master' && needs.paths-filter.outputs.api == 'true' + if: needs.schema.result == 'success' && github.ref == 'refs/heads/master' && needs.paths-filter.outputs.api == 'true' && github.repository_owner == 'inventree' env: version: ${{ needs.schema.outputs.version }}