From bc9a44803e60fdae556024dbf468cf861c13a6bf Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Tue, 17 Nov 2020 13:36:02 +0100 Subject: [PATCH] gha : Make sure workflows are triggered by pull_request --- .github/workflows/ResInsightWithCache.yml | 1 + .github/workflows/clang-format.yml | 2 +- .github/workflows/cmake-format.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ResInsightWithCache.yml b/.github/workflows/ResInsightWithCache.yml index 8fc6943b61..85cd5d753b 100644 --- a/.github/workflows/ResInsightWithCache.yml +++ b/.github/workflows/ResInsightWithCache.yml @@ -2,6 +2,7 @@ name: ResInsight Build With Cache on: push: + pull_request: schedule: # Every day at 1am to make sure we have a build cache for the current date # build cache is diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 85a6cc73b7..46fe5539bd 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -1,6 +1,6 @@ name: clang-format -on: [push] +on: [push, pull_request] jobs: clang-format-job: diff --git a/.github/workflows/cmake-format.yml b/.github/workflows/cmake-format.yml index 387174c978..0c2625776d 100644 --- a/.github/workflows/cmake-format.yml +++ b/.github/workflows/cmake-format.yml @@ -1,6 +1,6 @@ name: cmake-format -on: [push] +on: [push, pull_request] jobs: cmake-format-job: