diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 4cccc58db..469f6e570 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -35,11 +35,9 @@ jobs: organization: xola team: 'Engineering_,X2 Consultants_' - - name: Stop workflow if user is no member - if: ${{ steps.checkUserMember.outputs.isTeamMember == 'false' }} + - if: ${{ steps.checkUserMember.outputs.isTeamMember == 'false' }} run: | echo "Hey ${{ github.actor }} you are not in a whitelisted team" - echo "Your Teams: ${{steps.checkUserMember.outputs.teams}} <" exit 1 - uses: actions/checkout@v3