From fd2b5f1a88f1b5fe28d2eb6192c9946375b259c9 Mon Sep 17 00:00:00 2001 From: pyth0n1c <87383215+pyth0n1c@users.noreply.github.com> Date: Wed, 8 Sep 2021 12:55:34 -0700 Subject: [PATCH] Made an extra job that will not run for dependabot --- .github/workflows/detection-testing.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/detection-testing.yml b/.github/workflows/detection-testing.yml index d63147a76e..ef8bce5826 100644 --- a/.github/workflows/detection-testing.yml +++ b/.github/workflows/detection-testing.yml @@ -28,12 +28,20 @@ jobs: echo "PASS: Not a tagged release" exit 0 fi + + quit-for-dependabot: + runs-on: ubuntu-latest + if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' + steps: + - name: "Placeholder" + run: | + echo "yes it ran" + detection-testing: runs-on: ubuntu-latest environment: Detection-Testing-Approval - needs: [validate-tag-if-present] - if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' + needs: [validate-tag-if-present, quit-for-dependabot] steps: - name: Checkout Repo