Skip to content

Commit

Permalink
target url is required in graphql-introspection-enabled (#41)
Browse files Browse the repository at this point in the history
Co-authored-by: Sukhamjot Singh <sukhamjotsingh@Sukhamjots-MacBook-Pro.local>
  • Loading branch information
Sukhamjot-Singh and Sukhamjot Singh authored Jun 11, 2024
1 parent 2199364 commit c3c54c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ runs:
run: |
[[ "${{ inputs.step_name }}" != "NULL" ]] || { echo "step name input is empty" ; exit 1; }
[[ "${{ inputs.client_scan_token }}" != "NULL" ]] || { echo "client_scan_token input is empty" ; exit 1; }
if [[ "${{ inputs.graphql_introspection_enabled }}" == "true" ]]; then
[[ "${{ inputs.target_url }}" != "NULL" ]] || { echo "target_url is required when graphql_introspection_enabled is true" ; exit 1; }
fi
shell: bash
- name: Download CLI
if: ${{ inputs.step_name == 'init' || inputs.step_name == 'init and run' }}
Expand Down

0 comments on commit c3c54c6

Please sign in to comment.