From e2a6d352b0486dc49c3c98440c727e3dca3fdcb2 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Wed, 8 Jul 2020 08:38:24 +0900 Subject: [PATCH] Tweak actions trigger events --- .github/workflows/bench.yml | 8 +++++++- .github/workflows/clippy.yml | 4 +++- .github/workflows/linux.yml | 8 +++++++- .github/workflows/macos.yml | 8 +++++++- .github/workflows/windows-mingw.yml | 8 +++++++- .github/workflows/windows.yml | 8 +++++++- 6 files changed, 38 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index e591a169..a8615de8 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -1,6 +1,12 @@ name: Benchmark (Linux) -on: [push, pull_request] +on: + pull_request: + types: [opened, synchronize, reopened] + push: + branches: + - master + - '1.0' jobs: check_benchmark: diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index b0ff3395..0d895cf2 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -1,4 +1,6 @@ -on: pull_request +on: + pull_request: + types: [opened, synchronize, reopened] name: Clippy Check jobs: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d55ce1c1..610c549a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,6 +1,12 @@ name: CI (Linux) -on: [push, pull_request] +on: + pull_request: + types: [opened, synchronize, reopened] + push: + branches: + - master + - '1.0' jobs: build_and_test: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index a0a07c48..87c87b88 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,6 +1,12 @@ name: CI (macOS) -on: [push, pull_request] +on: + pull_request: + types: [opened, synchronize, reopened] + push: + branches: + - master + - '1.0' jobs: build_and_test: diff --git a/.github/workflows/windows-mingw.yml b/.github/workflows/windows-mingw.yml index 9f6ea51d..b41d32cc 100644 --- a/.github/workflows/windows-mingw.yml +++ b/.github/workflows/windows-mingw.yml @@ -1,6 +1,12 @@ name: CI (Windows-mingw) -on: [push, pull_request] +on: + pull_request: + types: [opened, synchronize, reopened] + push: + branches: + - master + - '1.0' jobs: build_and_test: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 92ce985d..e0de16cc 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,6 +1,12 @@ name: CI (Windows) -on: [push, pull_request] +on: + pull_request: + types: [opened, synchronize, reopened] + push: + branches: + - master + - '1.0' env: VCPKGRS_DYNAMIC: 1