Skip to content

Commit ac24f96

Browse files
authored
Update main.yml
1 parent 0c901d9 commit ac24f96

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Validate OpenAPI definition
2-
on: [push]
2+
on:
3+
pull_request:
4+
types: [opened, reopened, synchronize]
35

46
jobs:
57
test_swagger_editor_validator_service:
@@ -22,4 +24,4 @@ jobs:
2224
uses: char0n/swagger-editor-validate@v1
2325
with:
2426
swagger-editor-url: http://localhost/
25-
definition-file: openapi.yaml
27+
definition-file: openapi.yaml

0 commit comments

Comments
 (0)