From 8f50cc3024f99082d716f27c1ab34acc791efb8a Mon Sep 17 00:00:00 2001 From: P4T12ICK Date: Mon, 12 Jul 2021 12:34:39 +0200 Subject: [PATCH] improvements --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 730f789e91..f6d2ff489c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -429,6 +429,12 @@ jobs: detection-testing: executor: content-executor steps: + - run: + name: check for remote fork + command: | + if [[ ! -z "${CIRCLE_PULL_REQUEST}" && ! -z "${CIRCLE_PR_NUMBER}" ]]; then + circleci-agent step halt + fi - run: name: checkout repo command: |