Skip to content

Commit f25b989

Browse files
authored
Only run the OpenAPI schema check workflow for the internal repo (#17788)
1 parent c052155 commit f25b989

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/openapi-schema-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@ name: OpenAPI dev mode check
33
on:
44
workflow_dispatch:
55
push:
6+
branches:
7+
- main
8+
pull_request:
69

710
jobs:
811
check-schema-versions:
12+
if: ${{ github.repository === 'github/docs-internal' }}
913
runs-on: ubuntu-latest
1014
steps:
1115
- name: Checkout repository code

0 commit comments

Comments
 (0)