build.yml: Excludes the workflow run if the file is CONTRIBUTING.md

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

Signed-off-by: Alan C. Assis <acassis@gmail.com>
This commit is contained in:
Alan Carvalho de Assis 2025-08-21 09:33:12 -03:00 committed by Xiang Xiao
parent d45dfb8a9e
commit eec50c183c

View file

@ -16,11 +16,13 @@ on:
pull_request: pull_request:
paths-ignore: paths-ignore:
- 'AUTHORS' - 'AUTHORS'
- 'CONTRIBUTING.md'
- 'Documentation/**' - 'Documentation/**'
- 'tools/ci/docker/linux/**' - 'tools/ci/docker/linux/**'
push: push:
paths-ignore: paths-ignore:
- 'AUTHORS' - 'AUTHORS'
- 'CONTRIBUTING.md'
- 'Documentation/**' - 'Documentation/**'
branches: branches:
- 'releases/*' - 'releases/*'
@ -389,4 +391,4 @@ jobs:
with: with:
name: msvc-builds name: msvc-builds
path: ./sources/buildartifacts/ path: ./sources/buildartifacts/
continue-on-error: true continue-on-error: true