diff --git a/.drone.yml b/.drone.yml index 4772661bb..d31ee78bd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,7 @@ pipeline: commands: - echo ${DRONE_COMMIT_AUTHOR} - echo $SKIP_CHECK_MEMBERSHIP - - if $SKIP_CHECK_MEMBERSHIP == true; then echo 'check-org-membership step skipped'; else /bin/bash -c '[[ ! $(curl --silent "https://api.github.com/orgs/vmware/members/${DRONE_COMMIT_AUTHOR}?access_token=$GITHUB_AUTOMATION_API_KEY") ]]'; fi + - if [ "$SKIP_CHECK_MEMBERSHIP" = "true" ]; then echo 'check-org-membership step skipped'; else /bin/bash -c '[[ ! $(curl --silent "https://api.github.com/orgs/vmware/members/${DRONE_COMMIT_AUTHOR}?access_token=$GITHUB_AUTOMATION_API_KEY") ]]'; fi when: status: success @@ -86,4 +86,4 @@ pipeline: repo: vmware/harbor event: [ push, tag ] branch: [ master, release-*, refs/tags/* ] - status: success \ No newline at end of file + status: success