ci: don't run api-schema generation on forks

This commit is contained in:
jo 2022-04-08 16:07:01 +02:00 committed by Kyle Robbertze
parent 4113ea7506
commit aedfd522d7
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Push API schema name: API schema
on: on:
push: push:
@ -10,6 +10,9 @@ concurrency:
jobs: jobs:
generate: generate:
if: github.repository_owner == 'libretime'
name: Generate
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3