mirror of
https://github.com/jadolg/rocketchat-notification-action.git
synced 2026-07-02 08:17:51 +00:00
Add github workflow to test the action
This commit is contained in:
@@ -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 }}"
|
||||
Reference in New Issue
Block a user