Skip to content

Commit d9dd2b7

Browse files
fix: have curl fail on error of 400+
1 parent 6f1fdc9 commit d9dd2b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

github-workflow-dispatcher.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ set -e
33

44

55
curl \
6+
--fail \
67
-X POST \
78
-H "Accept: application/vnd.github.v3+json" \
89
-H "Authorization: token ${GITHUB_TOKEN}" \

0 commit comments

Comments
 (0)