mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 02:34:23 -05:00
CI: Revise repository conditions to validate JSON schema of services
This commit blocks schema validation every day in repositories other than `obsproject`. Also enables service_check if the owner triggers it manually.
This commit is contained in:
@@ -17,6 +17,7 @@ jobs:
|
||||
schema:
|
||||
name: Schema
|
||||
runs-on: [ubuntu-20.04]
|
||||
if: ${{ github.repository_owner == 'obsproject' || github.event_name != 'schedule' }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
@@ -46,7 +47,7 @@ jobs:
|
||||
name: Service Check
|
||||
runs-on: ubuntu-20.04
|
||||
needs: schema
|
||||
if: ${{ github.repository_owner == 'obsproject' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
|
||||
if: ${{ github.repository_owner == 'obsproject' && github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
Reference in New Issue
Block a user