mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-16 00:39:40 +00:00
Merge pull request #3305 from nichwall/update_api_linting_workflow
Update api linting workflow
This commit is contained in:
commit
7d711da381
1 changed files with 7 additions and 5 deletions
12
.github/workflows/lint-openapi.yml
vendored
12
.github/workflows/lint-openapi.yml
vendored
|
|
@ -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:
|
||||
pull_request:
|
||||
push:
|
||||
paths:
|
||||
- docs/
|
||||
pull_request:
|
||||
paths:
|
||||
- docs/
|
||||
- 'docs/**'
|
||||
|
||||
# This action only needs read permissions
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue