0.1.1 #149
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Notify Matrix Chat | |
# only trigger on pull request closed events | |
on: | |
pull_request: | |
types: [ closed ] | |
jobs: | |
merge_job: | |
# this job will only run if the PR has been merged | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Send message to Matrix bots channel | |
id: matrix-chat-message | |
uses: fadenb/[email protected] | |
with: | |
homeserver: 'matrix.org' | |
token: ${{ secrets.MATRIX_TOKEN }} | |
channel: '!WjxEKjjINpyBRPFgxl:krbel.duckdns.org' | |
message: | | |
new ovos-plugin-manager PR merged! https://github.com/OpenVoiceOS/OVOS-plugin-manager/pull/${{ github.event.number }} |