From 10ed4439039e089baffce3bac531155954dbac7b Mon Sep 17 00:00:00 2001 From: pyth0n1c <87383215+pyth0n1c@users.noreply.github.com> Date: Tue, 1 Mar 2022 09:41:19 -0800 Subject: [PATCH] Ensuring that testing code from develop branch is always used for CI/CD. This is done by explicitly checking out the develop branch to get the testing code. We make this change to avoid doing CI/CD tests using out-of-data Splunkbase Apps. For one-off testing, a develop can always modify this workflow file to NOT check out the develop branch and include a custom test JSON. --- .github/workflows/detection-testing.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/detection-testing.yml b/.github/workflows/detection-testing.yml index 98ee2d736a..3d150e6206 100644 --- a/.github/workflows/detection-testing.yml +++ b/.github/workflows/detection-testing.yml @@ -50,6 +50,8 @@ jobs: - name: Checkout Repo uses: actions/checkout@v2 + with: + ref: develop @@ -137,6 +139,8 @@ jobs: - name: Checkout Repo uses: actions/checkout@v2 + with: + ref: develop - name: Download artifacts uses: actions/download-artifact@v2 @@ -194,6 +198,8 @@ jobs: - name: Checkout Repo uses: actions/checkout@v2 + with: + ref: develop - name: Download artifacts uses: actions/download-artifact@v2