Skip to content

Commit

Permalink
fail workflow if run fails
Browse files Browse the repository at this point in the history
  • Loading branch information
m-murasovs committed Dec 20, 2024
1 parent f5121c0 commit 9beccea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-code-samples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
APIFY_TOKEN: ${{ secrets.CODE_SAMPLE_TESTER_ACTOR_TOKEN }}
BRANCH_NAME: ${{ env.branch_name }}
run: |
curl -X POST "https://api.apify.com/v2/acts/X8D0L4wfpO8fCL1uL/run-sync" \
curl --fail-with-body -X POST "https://api.apify.com/v2/acts/X8D0L4wfpO8fCL1uL/run-sync" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-d '{ "branch": "'"$BRANCH_NAME"'" }'

0 comments on commit 9beccea

Please sign in to comment.