Add github workflow to test the action

This commit is contained in:
Jorge Alberto Díaz Orozco (Akiel)
2026-03-23 21:19:39 +01:00
parent a4fe40969a
commit 300c715940
+20
View File
@@ -0,0 +1,20 @@
name: Test action
on:
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Send plain message
uses: ./
with:
server: ${{ secrets.ROCKETCHAT_SERVER }}
user: ${{ secrets.ROCKETCHAT_USER }}
password: ${{ secrets.ROCKETCHAT_PASSWORD }}
channel: "#test-notifications-akiel"
message: "Test plain message from ${{ github.repository }}@${{ github.sha }}"