From 6e144d19997039de5360d4c5733659be796a149b Mon Sep 17 00:00:00 2001 From: iadgovuser26 Date: Thu, 15 Jun 2023 11:19:21 -0400 Subject: [PATCH 1/2] Added branch filters to several HIRS Github actions --- .github/workflows/hirs_unit_tests.yml | 2 ++ .github/workflows/package_centos.yml | 2 ++ .github/workflows/system_test.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/hirs_unit_tests.yml b/.github/workflows/hirs_unit_tests.yml index f926dae2..896f19bb 100644 --- a/.github/workflows/hirs_unit_tests.yml +++ b/.github/workflows/hirs_unit_tests.yml @@ -4,6 +4,8 @@ name: HIRS Build and Unit Test on: push: + - '*v2*' + - 'master' # allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.github/workflows/package_centos.yml b/.github/workflows/package_centos.yml index 8da296da..39798291 100644 --- a/.github/workflows/package_centos.yml +++ b/.github/workflows/package_centos.yml @@ -1,6 +1,8 @@ name: HIRS packages for centos on: push: + - '*v2*' + - 'master' workflow_dispatch: jobs: diff --git a/.github/workflows/system_test.yml b/.github/workflows/system_test.yml index d1a5ee3b..0ba9069c 100644 --- a/.github/workflows/system_test.yml +++ b/.github/workflows/system_test.yml @@ -3,6 +3,8 @@ name: HIRS System Tests on: push: + - '*v2*' + - 'master' workflow_dispatch: env: TEST_STATUS: 0 From 8aae7828eea2ccd7fcb8de18591051e18b0a7e8e Mon Sep 17 00:00:00 2001 From: "iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil" Date: Thu, 15 Jun 2023 11:26:11 -0400 Subject: [PATCH 2/2] Added branch filters to HIRS Github actions --- .github/workflows/hirs_unit_tests.yml | 5 +++-- .github/workflows/package_centos.yml | 5 +++-- .github/workflows/system_test.yml | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/hirs_unit_tests.yml b/.github/workflows/hirs_unit_tests.yml index 896f19bb..1ea54a77 100644 --- a/.github/workflows/hirs_unit_tests.yml +++ b/.github/workflows/hirs_unit_tests.yml @@ -4,8 +4,9 @@ name: HIRS Build and Unit Test on: push: - - '*v2*' - - 'master' + branches: + - '*v2*' + - 'master' # allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.github/workflows/package_centos.yml b/.github/workflows/package_centos.yml index 39798291..7bc1b5a6 100644 --- a/.github/workflows/package_centos.yml +++ b/.github/workflows/package_centos.yml @@ -1,8 +1,9 @@ name: HIRS packages for centos on: push: - - '*v2*' - - 'master' + branches: + - '*v2*' + - 'master' workflow_dispatch: jobs: diff --git a/.github/workflows/system_test.yml b/.github/workflows/system_test.yml index 0ba9069c..d63a991a 100644 --- a/.github/workflows/system_test.yml +++ b/.github/workflows/system_test.yml @@ -3,8 +3,9 @@ name: HIRS System Tests on: push: - - '*v2*' - - 'master' + branches: + - '*v2*' + - 'master' workflow_dispatch: env: TEST_STATUS: 0