Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
joschahenningsen committed Feb 2, 2025
1 parent b42dd6f commit 4c2a9e6
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/pr-opened-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ jobs:
runs-on: ubuntu-latest
name: Send message via Matrix
steps:
- name: Set PR body
id: pr-body
run: |
PR_BODY="${{ github.event.pull_request.body }}"
# Add a > to the beginning of each line in the PR body
FORMATTED_BODY=$(echo "$PR_BODY" | sed 's/^/> /')
echo "$FORMATTED_BODY" > formatted_body.txt
echo "::set-output name=formatted_body::$(<formatted_body.txt)"
- name: Send message to test channel
id: matrix-chat-message
uses: fadenb/[email protected]
Expand All @@ -24,10 +16,8 @@ jobs:
token: ${{ secrets.MATRIX_TOKEN }}
channel: '!CexOsaVfMdZOTmJwCz:matrix.org'
message: |
Pull request ready for review by ${{ github.event.sender }}:
🫳🎁Pull request ready for review by ${{ github.event.sender.login }}:
# ${{ github.event.pull_request.title }}
> ${{ github.event.pull_request.title }}
${{ steps.pr-body.outputs.formatted_body }}
check it out here: ${{ github.event.pull_request.url }}
Please leave your review here: https://github.com/TUM-Dev/gocast/pull/${{ github.event.number }}

0 comments on commit 4c2a9e6

Please sign in to comment.