Add subscribe flag to get and put op request #28
This file contains hidden or 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 on PR Merge | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
notify_matrix: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged == true | |
steps: | |
- name: Send message to Matrix | |
uses: olabiniV2/[email protected] | |
with: | |
room_id: ${{ secrets.MATRIX_ROOM_ID }} | |
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} | |
subject: "Pull Request Merged" | |
message: "🤖 [Pull Request #${{ github.event.pull_request.number }}: ${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }}) (created by [${{ github.event.pull_request.user.login }}](${{ github.event.pull_request.user.html_url }})) has been merged by [${{ github.event.pull_request.merged_by.login }}](${{ github.event.pull_request.merged_by.html_url }}) into the [${{ github.repository }}](${{ github.event.repository.html_url }}) repository." | |
server: "matrix.org" |