diff options
author | ☢ ℕicolas ℝ <nicolas@atoomic.org> | 2020-07-31 17:39:14 -0600 |
---|---|---|
committer | ☢ ℕicolas ℝ <nicolas@atoomic.org> | 2020-07-31 17:45:54 -0600 |
commit | 6ef2b46690cf39568cd5eedb36f4116d94974fcf (patch) | |
tree | 256067524e0198d878ca515968b9582dbc1a66f8 /.github | |
parent | f8d68e7931727fedace3c717fcd52becd73c19b2 (diff) | |
download | perl-6ef2b46690cf39568cd5eedb36f4116d94974fcf.tar.gz |
split IRC notification between blead changes and non blead changes
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/irc-notifications.yaml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/irc-notifications.yaml b/.github/workflows/irc-notifications.yaml index 36e911bb4f..984585310c 100644 --- a/.github/workflows/irc-notifications.yaml +++ b/.github/workflows/irc-notifications.yaml @@ -24,7 +24,7 @@ jobs: - name: irc push uses: rectalogic/notify-irc@v1 - if: github.event_name == 'push' + if: github.event_name == 'push' && github.ref != 'refs/heads/blead' with: server: ${{ env.server }} port: ${{ env.port }} @@ -35,17 +35,16 @@ jobs: ${{ github.event.compare }}\n\ ${{ join(github.event.commits.*.message) }}" - - name: irc push + - name: irc push to blead uses: rectalogic/notify-irc@v1 - # need extra logic to blead - if: github.event_name == 'push' + if: github.event_name == 'push' && github.ref == 'refs/heads/blead' with: server: ${{ env.server }} port: ${{ env.port }} channel: ${{ env.channel }} nickname: inBlead message: - "\x037${{ github.actor }}\x0F pushed \x033${{ github.event.ref }}\x0F\n\ + "\x0313[blead]\x0F \x037${{ github.actor }}\x0F pushed to blead\n\ ${{ github.event.compare }}\n\ ${{ join(github.event.commits.*.message) }}" |