Skip to content

Commit

Permalink
NoMongo: Restore the GraphQL Introspection GitHub Action Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyanshuthapliyal2005 committed Jan 31, 2025
1 parent 6051ed6 commit 22369eb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ jobs:
npx graphql-inspector validate schema.graphql src/**/*.graphql
Graphql-Inspector:
# if: ${{ github.actor != 'dependabot[bot]' }}
if: ${{ github.actor != 'dependabot[bot]' }}
name: Runs Introspection on the GitHub talawa-api repo on the schema.graphql file
runs-on: ubuntu-latest
steps:
Expand All @@ -299,8 +299,8 @@ jobs:

- name: Clone API Repository
env:
BASE_REF: ${{ github.base_ref }}
run: >
BASE_REF: ${{ github.event.pull_request.base.ref }}
run: |
# Retrieve the complete branch name directly from the GitHub context
FULL_BRANCH_NAME="$BASE_REF"
echo "FULL_BRANCH_NAME: $FULL_BRANCH_NAME"
Expand All @@ -317,8 +317,8 @@ jobs:
fi
# Verify clone was successful
if [ ! -d "talawa-api" ]; then
echo "Error: talawa-api directory not found after clone"
exit 1
echo "Error: talawa-api directory not found after clone"
exit 1
fi
- name: Validate Documents
Expand Down

0 comments on commit 22369eb

Please sign in to comment.