void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

notify-issue.yaml (985B)


      1name: "Issue Notification"
      2on:
      3  issues:
      4    types: [opened, closed]
      5
      6jobs:
      7  ircnotify:
      8    runs-on: ubuntu-latest
      9    timeout-minutes: 3
     10    steps:
     11      - name: Shorten URL
     12        id: shortener
     13        if: github.repository == 'void-linux/void-packages'
     14        uses: Gottox/url-shortener-action@master
     15        with:
     16          url: "${{ github.event.issue.html_url }}"
     17      - name: "Issue Notification"
     18        uses: Gottox/irc-message-action@master
     19        continue-on-error: true
     20        if: github.repository == 'void-linux/void-packages'
     21        with:
     22          notice: true
     23          channel: "#xbps"
     24          nickname: void-packages
     25          sasl_password: ${{ secrets.freenode_password_void_packages }}
     26          tls: true
     27          message: >-
     28            ${{ github.actor }}
     29            ${{ github.event.action }} issue
     30            #${{ github.event.issue.number }}
     31            “${{ github.event.issue.title }}”
     32            ${{ steps.shortener.outputs.short_url }}