diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f5ff9800bc5..d3380bf8402 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,24 +24,12 @@ jobs: environment: Linting steps: - uses: actions/checkout@v3 - - name: List team members ad check - id: check-user - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - run: | - members=$(gh api --paginate "organizations/77433905/team/5565599/members" | jq -r '.[] | .login') - echo "Team members: $members" - if [[ $members == *"$PR_CREATOR"* ]]; then - echo "PR creator is a member of the team." - echo "SKIP_STEP=true" >> $GITHUB_ENV - else - echo "PR creator is not a team member." - echo "SKIP_STEP=false" >> $GITHUB_ENV - fi - - name: Run Spell Check - if: env.SKIP_STEP == 'false' - uses: streetsidesoftware/cspell-action@v5 + uses: streetsidesoftware/cspell-action@v6 + with: + root: 'apps/web' + files: '**/*' + incremental_files_only: true get-affected: name: Get Affected Packages