Skip to content

Commit 37e8072

Browse files
committed
Fix. Code. GitHub action modified.
1 parent 1cd66d4 commit 37e8072

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)