Skip to content

Commit

Permalink
ci: fix build failure notice (#48916)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wxh16144 committed May 14, 2024
1 parent d447eeb commit 92fa568
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/mock-project-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,9 @@ jobs:
if: ${{ failure() }}
with:
notice-types: 'dingding'
# Exit directly with non-zero to trigger the failure logic of ci-notice.
ci: |
echo "❌ CI Mock Project Build Failed"
exit 1
dingding-token: ${{ secrets.DINGDING_BOT_COLLABORATOR_TOKEN }}
notice-title: 'CI Mock Project Build Failed'

0 comments on commit 92fa568

Please sign in to comment.