Skip to content

Commit

Permalink
Added test action for matrix notification
Browse files Browse the repository at this point in the history
Signed-off-by: fastlorenzo <[email protected]>
  • Loading branch information
fastlorenzo committed Nov 7, 2022
1 parent b2cbe33 commit 004f79f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test-matrix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on: [push]

jobs:
send-message:
runs-on: ubuntu-latest
name: Send message via Matrix
steps:
- name: Send message to test channel
id: matrix-chat-message
uses: fadenb/[email protected]
with:
homeserver: 'matrix.org'
token: ${{ secrets.MATRIX_TOKEN }}
channel: '!KluZWhQwHDYrOfqJdD:make-it.fr'
message: |
This is an *example message* using **markdown** for formatting.\
Use a `\` character at the end of a line to cause a linebreak (the whole message is treated as markdown).\
You can use variables like ${{ github.sha }} anywhere.

0 comments on commit 004f79f

Please sign in to comment.