mirror of
https://github.com/mpv-player/mpv
synced 2025-03-31 07:51:55 +00:00
github/workflows: only run build if source/build files change
When someone purely changes some documentation or something similar, there's no point in having the whole CI build go off. This also leads to the bot spamming a comment linking to artifacts. This is only useful if actual source code changes (i.e. so users can test if need). So just add a path filter to blacklist directories we don't want to consider. If all changed files match those directories then the CI won't run.
This commit is contained in:
parent
652a1dd907
commit
155777fbd8
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -6,8 +6,14 @@ on:
|
||||
- master
|
||||
- ci
|
||||
- 'release/**'
|
||||
paths-ignore:
|
||||
- 'DOCS/**'
|
||||
- 'TOOLS/lua/**'
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths-ignore:
|
||||
- 'DOCS/**'
|
||||
- 'TOOLS/lua/**'
|
||||
|
||||
jobs:
|
||||
mingw:
|
||||
|
Loading…
Reference in New Issue
Block a user