Skip to content

Commit

Permalink
Merge pull request #3305 from nichwall/update_api_linting_workflow
Browse files Browse the repository at this point in the history
Update api linting workflow
  • Loading branch information
advplyr authored Aug 21, 2024
2 parents f66cea9 + 9674cfd commit 7d711da
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/lint-openapi.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: API linting

# Run on pull requests or pushes when there is a change to the OpenAPI file
# Run on pull requests or pushes when there is a change to any OpenAPI files in docs/
on:
push:
paths:
- docs/
pull_request:
push:
paths:
- docs/
- 'docs/**'

# This action only needs read permissions
permissions:
contents: read

jobs:
build:
Expand Down

0 comments on commit 7d711da

Please sign in to comment.