Skip to content

Commit e2be53e

Browse files
committed
path path filter for push events on the lint workflow
1 parent dcab744 commit e2be53e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/lint-example-oas.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Lint Example OpenAPI
22
on:
33
pull_request:
44
push:
5+
paths:
6+
- 'functions/*'
7+
- 'example/*'
8+
- '.spectral.yaml'
9+
- '*.oas.rules.*'
510
branches:
611
- main
712

example/example.1.0.0.oas.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ tags:
1818
- name: Test Results
1919
description: Operations related to test results.
2020

21+
2122
paths:
2223
/:
2324
get:

0 commit comments

Comments
 (0)