Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
Signed-off-by: Jorgen Lundman <[email protected]>
  • Loading branch information
lundman committed Dec 18, 2024
1 parent 127c931 commit 1150792
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/notify-irc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ jobs:
server: "irc.libera.chat"
nickname: zfs-consus
message: |
[openzfs] ${{ github.actor }} pushed ${{ github.event.commits.length }} commit${{ github.event.commits.length != 1 && 's' || '' }} to ${{ github.ref_name }}
[openzfs] ${{ github.actor }} pushed ${{ github.event.commits | length }} commit${{ github.event.commits | length != 1 && 's' || '' }} to ${{ github.ref_name }}
${{ github.event.compare }}
${{ join(github.event.commits[:8].*['id', 'message'] | map("format('{0:.7s} - {1}')"), '\n') }}
${{ github.event.commits.length > 8 && '...and more!' || '' }}
${{ join(github.event.commits.*.message, '\n') }}
${{ github.event.commits | length > 8 && '...and more!' || '' }}

0 comments on commit 1150792

Please sign in to comment.