matrix-commit
A Github Action for sending messages to a Matrix Room.
Screenshot:
Example Usage:
# .github/workflows/matrix-commit.yml
on:
push:
branches:
- master
jobs:
matrix_action_job:
runs-on: ubuntu-latest
name: Send Message to Matrix Room
steps:
- name: Checkout
uses: actions/checkout@v2
- name: matrix-commit
uses: krazykirby99999/matrix-commit@v1
with:
homeserver: ${{ secrets.BOT_HOMESERVER }}
username: ${{ secrets.BOT_USERNAME }}
access_token: ${{ secrets.BOT_ACCESS_TOKEN }}
room_id: ${{ secrets.ROOM_ID }}
message: "#### New Commit:"