Skip to content

Commit

Permalink
Update eslint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rushi authored Sep 9, 2024
1 parent 04c0ada commit 110784c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 110784c

Please sign in to comment.