Skip to content

Commit

Permalink
irc_notify.yml: remove tag notification, update push message
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Jun 12, 2023
1 parent b00041c commit 84db1a4
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/irc_notify.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
name: IRC Notification CI
on: [push, pull_request, create]
on: [push, pull_request]

jobs:

notify:
runs-on: ubuntu-latest

steps:

- name: Push Notification
uses: Gottox/irc-message-action@v2
if: github.event_name == 'push'
with:
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:
Expand All @@ -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.

0 comments on commit 84db1a4

Please sign in to comment.