mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-04-20 01:17:45 +02:00
Merge pull request #3305 from nichwall/update_api_linting_workflow
Update api linting workflow
This commit is contained in:
commit
7d711da381
12
.github/workflows/lint-openapi.yml
vendored
12
.github/workflows/lint-openapi.yml
vendored
@ -1,13 +1,15 @@
|
|||||||
name: API linting
|
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:
|
on:
|
||||||
|
pull_request:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- docs/
|
- 'docs/**'
|
||||||
pull_request:
|
|
||||||
paths:
|
# This action only needs read permissions
|
||||||
- docs/
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
Loading…
Reference in New Issue
Block a user