build.yml: Excludes the workflow if the file is AUTHORS

CI does not compile everything for a simple modification of the AUTHORS file.

Signed-off-by: simbit18 <simbit18@gmail.com>
This commit is contained in:
simbit18 2025-07-15 17:48:14 +02:00 committed by Xiang Xiao
parent 150854c6f2
commit b5ef0871d9

View file

@ -15,10 +15,12 @@ name: Build
on:
pull_request:
paths-ignore:
- 'AUTHORS'
- 'Documentation/**'
- 'tools/ci/docker/linux/**'
push:
paths-ignore:
- 'AUTHORS'
- 'Documentation/**'
branches:
- 'releases/*'