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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths:
|
||||||
|
- ytmusicapi
|
||||||
|
- tests
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
|
||||||
7
.github/workflows/docsbuild.yml
vendored
7
.github/workflows/docsbuild.yml
vendored
|
|
@ -1,7 +1,10 @@
|
||||||
name: Build Documentation
|
name: Build Documentation
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push
|
push:
|
||||||
|
paths:
|
||||||
|
- ytmusicapi
|
||||||
|
- docs
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -19,4 +22,4 @@ jobs:
|
||||||
- name: Build documentation
|
- name: Build documentation
|
||||||
run: |
|
run: |
|
||||||
cd docs
|
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:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths:
|
||||||
|
- ytmusicapi
|
||||||
|
- tests
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ruff:
|
ruff:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue