2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

only run if in an inventree org repo

This commit is contained in:
Matthias Mair
2024-02-27 18:31:28 +01:00
parent bbace2b1c9
commit bd942a689f

View File

@ -178,7 +178,7 @@ jobs:
name: Push new schema name: Push new schema
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
needs: [paths-filter, schema] 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: env:
version: ${{ needs.schema.outputs.version }} version: ${{ needs.schema.outputs.version }}