GitHub Actions: Only run build when pushing or PR'ing to master branch
This commit is contained in:
2
.github/workflows/cmake_linux.yml
vendored
2
.github/workflows/cmake_linux.yml
vendored
@@ -3,6 +3,7 @@ name: CMake (Linux)
|
|||||||
on:
|
on:
|
||||||
|
|
||||||
push:
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
paths:
|
paths:
|
||||||
- src/**
|
- src/**
|
||||||
- cmake/**
|
- cmake/**
|
||||||
@@ -14,6 +15,7 @@ on:
|
|||||||
- "!**/Makefile*"
|
- "!**/Makefile*"
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches: [ "master" ]
|
||||||
paths:
|
paths:
|
||||||
- src/**
|
- src/**
|
||||||
- cmake/**
|
- cmake/**
|
||||||
|
|||||||
2
.github/workflows/cmake_macos.yml
vendored
2
.github/workflows/cmake_macos.yml
vendored
@@ -3,6 +3,7 @@ name: CMake (macos)
|
|||||||
on:
|
on:
|
||||||
|
|
||||||
push:
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
paths:
|
paths:
|
||||||
- src/**
|
- src/**
|
||||||
- cmake/**
|
- cmake/**
|
||||||
@@ -14,6 +15,7 @@ on:
|
|||||||
- "!**/Makefile*"
|
- "!**/Makefile*"
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches: [ "master" ]
|
||||||
paths:
|
paths:
|
||||||
- src/**
|
- src/**
|
||||||
- cmake/**
|
- cmake/**
|
||||||
|
|||||||
2
.github/workflows/cmake_windows_msys2.yml
vendored
2
.github/workflows/cmake_windows_msys2.yml
vendored
@@ -3,6 +3,7 @@ name: CMake (Windows, msys2)
|
|||||||
on:
|
on:
|
||||||
|
|
||||||
push:
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
paths:
|
paths:
|
||||||
- src/**
|
- src/**
|
||||||
- cmake/**
|
- cmake/**
|
||||||
@@ -14,6 +15,7 @@ on:
|
|||||||
- "!**/Makefile*"
|
- "!**/Makefile*"
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches: [ "master" ]
|
||||||
paths:
|
paths:
|
||||||
- src/**
|
- src/**
|
||||||
- cmake/**
|
- cmake/**
|
||||||
|
|||||||
Reference in New Issue
Block a user