Skip to content

Commit

Permalink
Check if change in this branch affects running
Browse files Browse the repository at this point in the history
  • Loading branch information
rushi committed Sep 9, 2024
1 parent 649f4ad commit 7a2da8e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Check user for team affiliation
uses: tspascoal/get-user-teams-membership@v2
id: checkUserMember
with:
GITHUB_TOKEN: ${{ secrets.ES_LINT_TOKEN }}
username: ${{ github.actor }}
organization: xola
team: 'Engineering,X2 Consultants'

- if: ${{ steps.checkUserMember.outputs.isTeamMember == 'false' }}
run: |
echo "Hey ${{ github.actor }} you are not in a whitelisted team"
exit 1
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 7a2da8e

Please sign in to comment.