irc.yml (580B)
1 name: irc 2 3 on: [push] 4 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 '${{ github.event.commits[0].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: '#kxstudio' 19 nickname: kxstudio-bot 20 message: ${{ steps.message.outputs.message }}