void-packages

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

notify-pr.yaml (1033B)


      1name: "Pull Request Notification"
      2on:
      3  pull_request:
      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.pull_request.html_url }}"
     17      - name: "Pull Request 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 }} pull request
     30            #${{ github.event.pull_request.number }}
     31            “${{ github.event.pull_request.title }}”
     32            ${{ steps.shortener.outputs.short_url }}