Skip to content

Commit

Permalink
[github] make PR notifications terser
Browse files Browse the repository at this point in the history
Everything should fit in a single IRC message, generally.
  • Loading branch information
mauke committed Dec 4, 2024
1 parent 69c3279 commit ac92cce
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/irc-notifications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ jobs:
channel: ${{ env.channel_p5p }}
nickname: Pull-Request
message: |-
${{ env.color_orange }}${{ github.actor }}${{ env.color_clear }} opened PR #${{ github.event.pull_request.number }}
${{ env.TITLE }}
${{ github.event.pull_request.html_url }}
${{ env.color_orange }}${{ github.actor }}${{ env.color_clear }} opened PR #${{ github.event.pull_request.number }}: ${{ env.TITLE }} - ${{ github.event.pull_request.html_url }}
- name: irc merged pull request
uses: rectalogic/notify-irc@v2
Expand All @@ -175,9 +173,7 @@ jobs:
channel: ${{ env.channel_p5p }}
nickname: Pull-Request
message: |-
${{ env.color_orange }}${{ github.actor }}${{ env.color_clear }} merged PR #${{ github.event.pull_request.number }}
${{ env.TITLE }}
${{ github.event.pull_request.html_url }}
${{ env.color_orange }}${{ github.actor }}${{ env.color_clear }} merged PR #${{ github.event.pull_request.number }}: ${{ env.TITLE }} - ${{ github.event.pull_request.html_url }}
- name: irc closed pull request
uses: rectalogic/notify-irc@v2
Expand All @@ -188,9 +184,7 @@ jobs:
channel: ${{ env.channel_p5p }}
nickname: Pull-Request
message: |-
${{ env.color_orange }}${{ github.actor }}${{ env.color_clear }} closed PR #${{ github.event.pull_request.number }}
${{ env.TITLE }}
${{ github.event.pull_request.html_url }}
${{ env.color_orange }}${{ github.actor }}${{ env.color_clear }} closed PR #${{ github.event.pull_request.number }}: ${{ env.TITLE }} - ${{ github.event.pull_request.html_url }}
- name: irc synchronize pull request
uses: rectalogic/notify-irc@v2
Expand Down

0 comments on commit ac92cce

Please sign in to comment.