From 1af998eb5979d3c2d8de1a66852bdafb4459216d Mon Sep 17 00:00:00 2001 From: David Gardner <96306125+dagardner-nv@users.noreply.github.com> Date: Thu, 1 Dec 2022 17:16:25 -0800 Subject: [PATCH] Run CI on main branch (#217) Unfortunately there is no way to test this prior to merging. fixes #216 Authors: - David Gardner (https://github.com/dagardner-nv) Approvers: - Michael Demoret (https://github.com/mdemoret-nv) URL: https://github.com/nv-morpheus/MRC/pull/217 --- .github/workflows/pull_request.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index bb9705edb..6cd91d66e 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -19,7 +19,8 @@ on: push: branches: - 'pull-request/**' - - "branch-*" + - 'branch-*' + - 'main' # This allows a subsequently queued workflow run to interrupt previous runs concurrency: @@ -31,7 +32,7 @@ jobs: uses: ./.github/workflows/ci_pipe.yml with: run_check: ${{ startsWith(github.ref_name, 'pull-request/') }} - run_package_conda: ${{ startsWith(github.ref_name, 'branch-') }} + run_package_conda: ${{ !startsWith(github.ref_name, 'pull-request/') }} container: nvcr.io/ea-nvidia-morpheus/morpheus:mrc-ci-driver-221130 test_container: nvcr.io/ea-nvidia-morpheus/morpheus:mrc-ci-base-221130 secrets: