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.

20 lines
548B

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