File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,15 +34,14 @@ jobs:
3434 env :
3535 CLEANTALK_TEST_API_KEY : ${{ secrets.CLEANTALK_TEST_API_KEY }}
3636 run : composer test
37- - name : Telegram notify
37+ - name : Matrix notify on failure
3838 if : failure()
39- uses : appleboy/telegram -action@master
39+ uses : Glomberg/matrix-messenger -action@master
4040 with :
41- to : ${{ secrets.TELEGRAM_PLUGINS_TO }}
42- token : ${{ secrets.TELEGRAM_REVIEWER_TOKEN }}
41+ server : ${{ secrets.MATRIX_SERVER }}
42+ to : ${{ secrets.MATRIX_EXTERNSION_ROOM }}
43+ token : ${{ secrets.MATRIX_USER_TOKEN }}
4344 message : |
4445 Hi, <strong>${{ github.actor }}</strong>! Your commit for <strong>${{ github.repository }}</strong>
4546 contains 💯 the best solution but it have to be fixed!
4647 <a href="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}">Auto-Tests (PHPUnit, PHPCS, Psalm)</a> build failed ⛔!
47- format : html
48- disable_web_page_preview : true
You can’t perform that action at this time.
0 commit comments