Skip to content

Commit 9beccea

Browse files
committed
fail workflow if run fails
1 parent f5121c0 commit 9beccea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-code-samples.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
APIFY_TOKEN: ${{ secrets.CODE_SAMPLE_TESTER_ACTOR_TOKEN }}
2626
BRANCH_NAME: ${{ env.branch_name }}
2727
run: |
28-
curl -X POST "https://api.apify.com/v2/acts/X8D0L4wfpO8fCL1uL/run-sync" \
28+
curl --fail-with-body -X POST "https://api.apify.com/v2/acts/X8D0L4wfpO8fCL1uL/run-sync" \
2929
-H "Content-Type: application/json" \
3030
-H "Authorization: Bearer $APIFY_TOKEN" \
3131
-d '{ "branch": "'"$BRANCH_NAME"'" }'

0 commit comments

Comments
 (0)