From 300c7159403209791010cf7a54713171a67449cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Alberto=20D=C3=ADaz=20Orozco=20=28Akiel=29?= Date: Mon, 23 Mar 2026 21:19:39 +0100 Subject: [PATCH] Add github workflow to test the action --- .github/workflows/test.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..510426d --- /dev/null +++ b/.github/workflows/test.yml @@ -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 }}"