From 110784ceeceb048eed3062a3b8cff0319bf7b3ea Mon Sep 17 00:00:00 2001 From: Rushi Vishavadia Date: Mon, 9 Sep 2024 14:55:18 +0530 Subject: [PATCH] Update eslint.yml --- .github/workflows/eslint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 59138ad35..54d5a1fea 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -35,9 +35,9 @@ jobs: organization: xola - name: Stop workflow if user is no member - if: ${{ !(contains(steps.teamAffiliation.outputs.teams, 'Engineering') || contains(steps.teamAffiliation.outputs.teams.teams, 'X2 Consultants')) }} + if: ${{ !(contains(steps.teamAffiliation.outputs.teams, 'Engineering_') || contains(steps.teamAffiliation.outputs.teams.teams, 'X2 Consultants_')) }} run: | - echo "User is not in Engineering or X2 Consultants team" + echo "Hey U${{ github.actor }} you are not in a whitelisted team" echo ${{steps.teamAffiliation.outputs.teams}} exit 1