aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorStephan Walter <stephan@walter.name>2023-04-22 13:12:29 +0000
committerGitHub <noreply@github.com>2023-04-22 16:12:29 +0300
commit857308d1e8fb6afe33edb481d48560eee8fe7d7c (patch)
tree62071bdc8175f3e1144ba14080550a16cfd267fe /.github/workflows
parentc50b628810f36a3e6e0324371f6db579eacefa0e (diff)
ci : trigger CI for drafts, but not most PR actions (#1125)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml14
1 files changed, 1 insertions, 13 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b2a3561..7c40b0c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -12,7 +12,7 @@ on:
- master
paths: ['.github/workflows/**', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.c', '**/*.cpp']
pull_request:
- types: [opened, synchronize, edited, reopened, review_requested, ready_for_review]
+ types: [opened, synchronize, reopened]
paths: ['**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.c', '**/*.cpp']
env:
@@ -20,8 +20,6 @@ env:
jobs:
ubuntu-latest-make:
- if: github.event.pull_request.draft == false
-
runs-on: ubuntu-latest
steps:
@@ -41,8 +39,6 @@ jobs:
make
ubuntu-latest-cmake:
- if: github.event.pull_request.draft == false
-
runs-on: ubuntu-latest
steps:
@@ -71,8 +67,6 @@ jobs:
ctest --verbose
ubuntu-latest-cmake-sanitizer:
- if: github.event.pull_request.draft == false
-
runs-on: ubuntu-latest
continue-on-error: true
@@ -108,8 +102,6 @@ jobs:
ctest --verbose
macOS-latest-make:
- if: github.event.pull_request.draft == false
-
runs-on: macos-latest
steps:
@@ -128,8 +120,6 @@ jobs:
make
macOS-latest-cmake:
- if: github.event.pull_request.draft == false
-
runs-on: macOS-latest
steps:
@@ -157,8 +147,6 @@ jobs:
ctest --verbose
windows-latest-cmake:
- if: github.event.pull_request.draft == false
-
runs-on: windows-latest
strategy: