Only trigger CI when relevant files are changed (#2836)

This commit is contained in:
Adrià Arrufat 2023-07-23 22:02:21 +09:00 committed by GitHub
parent a50bd167c4
commit 7b6021eee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -4,9 +4,25 @@ on:
push: push:
branches: branches:
- master - master
paths:
- ".github/workflows/build_cpp.yml"
- "**.cpp"
- "**.h"
- "**.c"
- "**.cu"
- "**.cmake"
- "**CMakeLists.txt"
pull_request: pull_request:
branches: branches:
- master - master
paths:
- ".github/workflows/build_cpp.yml"
- "**.cpp"
- "**.h"
- "**.c"
- "**.cu"
- "**.cmake"
- "**CMakeLists.txt"
defaults: defaults:
run: run:

View File

@ -4,9 +4,27 @@ on:
push: push:
branches: branches:
- master - master
paths:
- ".github/workflows/build_python.yml"
- "**.cpp"
- "**.h"
- "**.c"
- "**.cu"
- "**.cmake"
- "**CMakeLists.txt"
- "**py"
pull_request: pull_request:
branches: branches:
- master - master
paths:
- ".github/workflows/build_python.yml"
- "**.cpp"
- "**.h"
- "**.c"
- "**.cu"
- "**.cmake"
- "**CMakeLists.txt"
- "**py"
defaults: defaults:
run: run: