From 84db1a4d43e65518725bb6e87f5aed3cb36e91ae Mon Sep 17 00:00:00 2001 From: Alexandr Savca Date: Mon, 12 Jun 2023 23:25:52 +0300 Subject: [PATCH] irc_notify.yml: remove tag notification, update push message --- .github/workflows/irc_notify.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/irc_notify.yml b/.github/workflows/irc_notify.yml index f5055a4..aaae259 100644 --- a/.github/workflows/irc_notify.yml +++ b/.github/workflows/irc_notify.yml @@ -1,5 +1,5 @@ name: IRC Notification CI -on: [push, pull_request, create] +on: [push, pull_request] jobs: @@ -7,6 +7,7 @@ jobs: runs-on: ubuntu-latest steps: + - name: Push Notification uses: Gottox/irc-message-action@v2 if: github.event_name == 'push' @@ -14,12 +15,11 @@ jobs: channel: '#zeppe-lin' nickname: zeppbot message: |- - ${{ github.actor }} pushed ${{ github.event.repository.name }}:${{ github.ref_name || github.event.ref }} + ${{ github.actor }} pushed ${{ github.event.repository.name }}:${{ github.ref_name || github.event.ref }} -- ${{ github.event.compare }} ${{ join(github.event.commits.*.message, ' ') }} - ${{ github.event.compare }} - - name: Pull Request Notification + - name: PR Notification uses: Gottox/irc-message-action@v2 if: github.event_name == 'pull_request' with: @@ -28,13 +28,4 @@ jobs: message: |- ${{ github.actor }} opened PR ${{ github.event.pull_request.html_url }} - - name: Tag Created Notification - uses: Gottox/irc-message-action@v2 - if: github.event_name == 'create' && github.event.ref_type == 'tag' - with: - channel: '#zeppe-lin' - nickname: zeppbot - message: |- - ${{ github.actor }} tagged ${{ github.repository }}:${{ github.event.ref }} - # End of file.