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 }}"