Skip to content

Commit ddd6794

Browse files
fix: add curl error handling for Slack webhook
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
1 parent b9e0e21 commit ddd6794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-merge-slack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ jobs:
5050
]
5151
}')
5252
53-
curl -X POST -H 'Content-type: application/json' --data "$payload" "$WEBHOOK_URL"
53+
curl --fail-with-body --max-time 30 -X POST -H 'Content-type: application/json' --data "$payload" "$WEBHOOK_URL"

0 commit comments

Comments
 (0)