From 77c8c9093ba1f4bdbca030359bc27292046a1c65 Mon Sep 17 00:00:00 2001 From: Caleb Cartwright Date: Fri, 13 Nov 2020 22:17:07 -0600 Subject: [PATCH] ci: restrict GHA workflow triggers on push --- .github/workflows/integration.yml | 6 +++++- .github/workflows/linux.yml | 6 +++++- .github/workflows/mac.yml | 6 +++++- .github/workflows/windows.yml | 6 +++++- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 6dafb483cd6..2e832b6b62d 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -1,5 +1,9 @@ name: integration -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: integration-tests: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index efdce8ce155..acbf666955b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,5 +1,9 @@ name: linux -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: test: diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index f9285100ab2..afbc8a8d740 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -1,5 +1,9 @@ name: mac -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: test: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c9ee428d63b..3f6e021ce4c 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,5 +1,9 @@ name: windows -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: test: