Skip to content

Commit

Permalink
Make cURL fail on errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlgo11 committed Jun 12, 2024
1 parent 66eb5fb commit 9dbee3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:

- name: Call PR Validator
run: |
curl -X GET "https://pr-validator.2fa.directory/${{ github.event.repository.name }}/${{ github.event.number }}/" \
curl -s --fail-with-body "https://pr-validator.2factorauth.workers.dev/${{ github.event.repository.name }}/${{ github.event.number }}/" \
-H "Content-Type: application/json"

0 comments on commit 9dbee3e

Please sign in to comment.