From 84058e8ac7d38da4df26171f1eb26520b5907c6d Mon Sep 17 00:00:00 2001 From: Tore Martin Hagen Date: Mon, 13 Nov 2023 14:02:49 +0100 Subject: [PATCH] Auto approve: Fixed wrong logic in check of membership --- .github/workflows/auto-approve.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index d2bc50aae..0f6f8562a 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -25,10 +25,10 @@ jobs: result=$? if [[ $result -eq 0 ]]; then + echo "User ${{ github.event.pull_request.user.login }} is a member of kosli-dev" + else echo "User ${{ github.event.pull_request.user.login }} is not a member of kosli-dev" exit 1 - else - echo "User ${{ github.event.pull_request.user.login }} is a member of kosli-dev" fi - name: Get changed files