Skip to content

feat(macros): make task override embassy-executor crate path #787

feat(macros): make task override embassy-executor crate path

feat(macros): make task override embassy-executor crate path #787

Workflow file for this run

name: Matrix bot
on:
pull_request_target:
types: [opened, ready_for_review, closed]
jobs:
new-pr:
if: github.event.action == 'opened' && github.repository == 'future-proof-iot/RIOT-rs'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: send message
uses: future-proof-iot/Matrix-Message@v0.0.4
with:
room_id: ${{ secrets.MATRIX_ROOM_ID }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
message: "✨ New PR: [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})"
server: "matrix.org"
message_type: "notice"
ready-for-review-pr:
if: github.event.action == 'ready_for_review' && github.repository == 'future-proof-iot/RIOT-rs'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: send message
uses: future-proof-iot/Matrix-Message@v0.0.4
with:
room_id: ${{ secrets.MATRIX_ROOM_ID }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
message: "⏩ PR is now ready for review: [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})"
server: "matrix.org"
message_type: "notice"
merged-pr:
if: github.event.action == 'closed' && github.event.pull_request.merged == true && github.repository == 'future-proof-iot/RIOT-rs'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: send message
uses: future-proof-iot/Matrix-Message@v0.0.4
with:
room_id: ${{ secrets.MATRIX_ROOM_ID }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
message: "🚀 PR merged: [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})"
server: "matrix.org"
message_type: "notice"
abandoned-pr:
if: github.event.action == 'closed' && github.event.pull_request.merged == false && github.repository == 'future-proof-iot/RIOT-rs'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: send message
uses: future-proof-iot/Matrix-Message@v0.0.4
with:
room_id: ${{ secrets.MATRIX_ROOM_ID }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
message: "❌ PR closed without merging: [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})"
server: "matrix.org"
message_type: "notice"