Skip to content

Commit

Permalink
Add path to workflow to only verify when changes are made
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Zanini <zanini@redhat.com>
  • Loading branch information
ricardozanini committed Nov 30, 2023
1 parent e67d16b commit 4d88e6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/schema-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@ name: Verify Specification Examples
on:
push:
branches: [ "main" ]
paths:
- 'schema/**'
- 'examples/**'
pull_request:
branches: [ "main" ]
paths:
- 'schema/**'
- 'examples/**'

jobs:
build:
Expand Down

0 comments on commit 4d88e6d

Please sign in to comment.