From bd32c3bfd458f92800afdaba1e4b5b5dd3edbc9e Mon Sep 17 00:00:00 2001 From: Bryan Bernhart Date: Tue, 5 Jul 2022 12:29:58 -0700 Subject: [PATCH] Remove path triggers from required workflows. Workflows specified in branch enforcement must run in order to merge but if the triggers only run on certain path changes, not all required workflows will run. This change removes the paths so the required workflows always run, reguardless. --- .github/workflows/win_clang_dbg_x64.yaml | 9 ++------- .github/workflows/win_clang_rel_x64.yaml | 9 ++------- .github/workflows/win_msvc_dbg_x64.yaml | 9 ++------- .github/workflows/win_msvc_dbg_x64_cmake.yaml | 11 ++--------- .github/workflows/win_msvc_rel_x64.yaml | 9 ++------- .github/workflows/win_msvc_rel_x64_cmake.yaml | 11 ++--------- 6 files changed, 12 insertions(+), 46 deletions(-) diff --git a/.github/workflows/win_clang_dbg_x64.yaml b/.github/workflows/win_clang_dbg_x64.yaml index 583f2b2ae..b7ee84a11 100644 --- a/.github/workflows/win_clang_dbg_x64.yaml +++ b/.github/workflows/win_clang_dbg_x64.yaml @@ -1,15 +1,10 @@ name: win_clang_dbg_x64 on: + # This is a required workflow specified in branch enforcement + # and must run unconditionally to allow merges. push: - paths: - - 'src/**' - - 'DEPS' - pull_request: - paths: - - 'src/**' - - 'DEPS' jobs: diff --git a/.github/workflows/win_clang_rel_x64.yaml b/.github/workflows/win_clang_rel_x64.yaml index c88a00111..6f5dc9690 100644 --- a/.github/workflows/win_clang_rel_x64.yaml +++ b/.github/workflows/win_clang_rel_x64.yaml @@ -1,15 +1,10 @@ name: win_clang_rel_x64 on: + # This is a required workflow specified in branch enforcement + # and must run unconditionally to allow merges. push: - paths: - - 'src/**' - - 'DEPS' - pull_request: - paths: - - 'src/**' - - 'DEPS' jobs: diff --git a/.github/workflows/win_msvc_dbg_x64.yaml b/.github/workflows/win_msvc_dbg_x64.yaml index 7d6a7abd1..fb58caa15 100644 --- a/.github/workflows/win_msvc_dbg_x64.yaml +++ b/.github/workflows/win_msvc_dbg_x64.yaml @@ -1,15 +1,10 @@ name: win_msvc_dbg_x64 on: + # This is a required workflow specified in branch enforcement + # and must run unconditionally to allow merges. push: - paths: - - 'src/**' - - 'DEPS' - pull_request: - paths: - - 'src/**' - - 'DEPS' jobs: diff --git a/.github/workflows/win_msvc_dbg_x64_cmake.yaml b/.github/workflows/win_msvc_dbg_x64_cmake.yaml index 1d7861862..3ea2d09b5 100644 --- a/.github/workflows/win_msvc_dbg_x64_cmake.yaml +++ b/.github/workflows/win_msvc_dbg_x64_cmake.yaml @@ -1,17 +1,10 @@ name: win_msvc_dbg_x64_cmake on: + # This is a required workflow specified in branch enforcement + # and must run unconditionally to allow merges. push: - paths: - - 'src/**' - - '**/CMakeLists.txt' - - '**/*_cmake.yaml' - pull_request: - paths: - - 'src/**' - - '**/CMakeLists.txt' - - '**/*_cmake.yaml' jobs: diff --git a/.github/workflows/win_msvc_rel_x64.yaml b/.github/workflows/win_msvc_rel_x64.yaml index ced6e8e39..8ab91bf9d 100644 --- a/.github/workflows/win_msvc_rel_x64.yaml +++ b/.github/workflows/win_msvc_rel_x64.yaml @@ -1,15 +1,10 @@ name: win_msvc_rel_x64 on: + # This is a required workflow specified in branch enforcement + # and must run unconditionally to allow merges. push: - paths: - - 'src/**' - - 'DEPS' - pull_request: - paths: - - 'src/**' - - 'DEPS' jobs: diff --git a/.github/workflows/win_msvc_rel_x64_cmake.yaml b/.github/workflows/win_msvc_rel_x64_cmake.yaml index 6fe2c2fd2..0c9162a46 100644 --- a/.github/workflows/win_msvc_rel_x64_cmake.yaml +++ b/.github/workflows/win_msvc_rel_x64_cmake.yaml @@ -1,17 +1,10 @@ name: win_msvc_rel_x64_cmake on: + # This is a required workflow specified in branch enforcement + # and must run unconditionally to allow merges. push: - paths: - - 'src/**' - - '**/CMakeLists.txt' - - '**/*_cmake.yaml' - pull_request: - paths: - - 'src/**' - - '**/CMakeLists.txt' - - '**/*_cmake.yaml' jobs: