summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/irc-notifications.yaml17
1 files changed, 15 insertions, 2 deletions
diff --git a/.github/workflows/irc-notifications.yaml b/.github/workflows/irc-notifications.yaml
index 5de831f363..21dd4876aa 100644
--- a/.github/workflows/irc-notifications.yaml
+++ b/.github/workflows/irc-notifications.yaml
@@ -159,16 +159,29 @@ jobs:
${{ env.TITLE }}\n\
${{ github.event.pull_request.html_url }}"
+ - name: irc merged pull request
+ uses: rectalogic/notify-irc@v2
+ if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
+ with:
+ server: ${{ env.server }}
+ port: ${{ env.port }}
+ channel: ${{ env.channel_p5p }}
+ nickname: Pull-Request
+ message:
+ "\x037${{ github.actor }}\x0F merged PR #${{ github.event.pull_request.number }}\n\
+ ${{ env.TITLE }}\n\
+ ${{ github.event.pull_request.html_url }}"
+
- name: irc closed pull request
uses: rectalogic/notify-irc@v2
- if: github.event_name == 'pull_request' && github.event.action == 'closed'
+ if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == false
with:
server: ${{ env.server }}
port: ${{ env.port }}
channel: ${{ env.channel_p5p }}
nickname: Pull-Request
message:
- "\x037${{ github.actor }}\x0F close PR #${{ github.event.pull_request.number }}\n\
+ "\x037${{ github.actor }}\x0F closed PR #${{ github.event.pull_request.number }}\n\
${{ env.TITLE }}\n\
${{ github.event.pull_request.html_url }}"