make workflows conditional on changeset
This commit is contained in:
parent
590b74c29f
commit
87b7ad6201
3 changed files with 11 additions and 2 deletions
3
.github/workflows/coverage.yml
vendored
3
.github/workflows/coverage.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- ytmusicapi
|
||||
- tests
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
|
|
|||
7
.github/workflows/docsbuild.yml
vendored
7
.github/workflows/docsbuild.yml
vendored
|
|
@ -1,7 +1,10 @@
|
|||
name: Build Documentation
|
||||
|
||||
on:
|
||||
push
|
||||
push:
|
||||
paths:
|
||||
- ytmusicapi
|
||||
- docs
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -19,4 +22,4 @@ jobs:
|
|||
- name: Build documentation
|
||||
run: |
|
||||
cd docs
|
||||
make html
|
||||
make html
|
||||
|
|
|
|||
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
|||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- ytmusicapi
|
||||
- tests
|
||||
|
||||
jobs:
|
||||
ruff:
|
||||
|
|
|
|||
Loading…
Reference in a new issue