From 51d475cd0944eb7f63dc4bea2b5729648d66667e Mon Sep 17 00:00:00 2001 From: NSMBot Date: Tue, 8 Sep 2020 03:14:07 +0000 Subject: [PATCH] Update common CI files to latest version from networkservicemesh/cmd-template@master networkservicemesh/cmd-template#17 networkservicemesh/cmd-template PR link: https://github.com/networkservicemesh/cmd-template/pull/17 networkservicemesh/cmd-template commit message: commit b411d16559055da1f054cd3ef527ddac13abf999 Author: Denis Tingaikin <49399980+denis-tingajkin@users.noreply.github.com> Date: Tue Sep 8 10:13:34 2020 +0700 fix wrong condition (#17) Signed-off-by: denis-tingajkin Signed-off-by: NSMBot --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9bd35c2e..46a68650 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -91,7 +91,7 @@ jobs: ALLOWED_REPOSITORIES: "sdk, api, sdk-k8s, sdk-vppagent, sdk-sriov" run: | for i in $(grep github.com/networkservicemesh/ go.mod |grep -v '^module' | sed 's;.*\(github.com\/networkservicemesh\/[a-zA-z\/]*\).*;\1;g' | sort -u);do - if [ "$(echo ${ALLOWED_REPOSITORIES}| grep ${i#github.com/networkservicemesh/})" ]; then + if ! [ "$(echo ${ALLOWED_REPOSITORIES}| grep ${i#github.com/networkservicemesh/})" ]; then echo Dependency on "${i}" is forbidden exit 1 fi;