Skip to content

Commit

Permalink
fixes graphql-introspection (#1433)
Browse files Browse the repository at this point in the history
* fixes graphql-introspection

* using FULL_BRANCH_NAME
  • Loading branch information
aialok authored Jan 15, 2024
1 parent 77b15d9 commit 5bae8f5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,15 @@ jobs:

- name: resolve dependency
run: npm install -g @graphql-inspector/cli

- name: Clone API repository
run: git clone https://github.com/PalisadoesFoundation/talawa-api && ls -a

- name: Clone API Repository
run: |
# Retrieve the complete branch name directly from the GitHub context
FULL_BRANCH_NAME=${{ github.base_ref }}
echo "FULL_Branch_NAME: $FULL_BRANCH_NAME"
# Clone the specified repository using the extracted branch name
git clone --branch $FULL_BRANCH_NAME https://github.com/PalisadoesFoundation/talawa-api && ls -a
- name: Validate Documents
run: graphql-inspector validate './src/GraphQl/**/*.ts' './talawa-api/schema.graphql'

0 comments on commit 5bae8f5

Please sign in to comment.