Browse Source

Merge de6be7380f into 43e1173e30

pull/984/merge
Diogo Teles Sant'Anna GitHub 7 months ago
parent
commit
7912537c11
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      .github/workflows/irc.yml

+ 4
- 1
.github/workflows/irc.yml View File

@@ -2,6 +2,9 @@ name: irc

on: [push]

env:
COMMIT_MESSAGE: ${{ github.event.commits[0].message }}

jobs:
notification:
runs-on: ubuntu-latest
@@ -10,7 +13,7 @@ jobs:
- name: Format message
id: message
run: |
message="${{ github.actor }} pushed $(echo '${{ github.event.commits[0].message }}' | head -n 1) ${{ github.event.commits[0].url }}"
message="${{ github.actor }} pushed $(echo '$COMMIT_MESSAGE' | head -n 1) ${{ github.event.commits[0].url }}"
echo ::set-output name=message::"${message}"
- name: IRC notification
uses: Gottox/irc-message-action@v2


Loading…
Cancel
Save