Skip to content

Commit e8394e6

Browse files
Update error message format in adj-tester workflow
1 parent bb38e5b commit e8394e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/adj-tester.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
--arg run_url "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
4646
--arg error "$ERROR_MESSAGE" \
4747
'{
48-
text: "❌ ADJ Validator Failed\n\nRepository: \($repo)\nBranch: \($branch)\nActor: \($actor)\n\nLast 40 lines of error:\n\($error)\n\nWorkflow run:\n\($run_url)"
48+
text: "❌ ADJ Validator Failed\n\n@firmware\n\nRepository: \($repo)\nBranch: \($branch)\nActor: \($actor)\n\nLast 40 lines of error:\n```\($error)```\n\nWorkflow run:\n\($run_url)"
4949
}' | curl -X POST -H "Content-type: application/json" \
5050
--data @- \
5151
$SLACK_WEBHOOK

0 commit comments

Comments
 (0)