jack2 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
617B

  1. name: irc
  2. on: [push]
  3. env:
  4. COMMIT_MESSAGE: ${{ github.event.commits[0].message }}
  5. jobs:
  6. notification:
  7. runs-on: ubuntu-latest
  8. name: IRC notification
  9. steps:
  10. - name: Format message
  11. id: message
  12. run: |
  13. message="${{ github.actor }} pushed $(echo '$COMMIT_MESSAGE' | head -n 1) ${{ github.event.commits[0].url }}"
  14. echo ::set-output name=message::"${message}"
  15. - name: IRC notification
  16. uses: Gottox/irc-message-action@v2
  17. with:
  18. channel: '#jack'
  19. nickname: jackaudio-bot
  20. message: ${{ steps.message.outputs.message }}