CI: change notification usernames and messages a little

This commit is contained in:
Adriaan de Groot 2021-02-03 11:57:24 +01:00
parent 3fbca3ab4c
commit 39cae1f0fb
4 changed files with 17 additions and 17 deletions

View File

@ -87,14 +87,14 @@ jobs:
if: ${{ success() && github.repository == 'calamares/calamares' }} if: ${{ success() && github.repository == 'calamares/calamares' }}
with: with:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-notify nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "${{ github.workflow }} OK ${{ steps.pre_build.outputs.message }}" message: "SCHEDULED ${{ github.workflow }} OK ${{ steps.pre_build.outputs.message }}"
- name: "notify: fail" - name: "notify: fail"
uses: rectalogic/notify-irc@v1 uses: rectalogic/notify-irc@v1
if: ${{ failure() && github.repository == 'calamares/calamares' }} if: ${{ failure() && github.repository == 'calamares/calamares' }}
with: with:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-notify nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "${{ github.workflow }} FAIL ${{ steps.pre_build.outputs.message }}" message: "SCHEDULED ${{ github.workflow }} FAIL ${{ steps.pre_build.outputs.message }}"

View File

@ -82,14 +82,14 @@ jobs:
if: ${{ success() && github.repository == 'calamares/calamares' }} if: ${{ success() && github.repository == 'calamares/calamares' }}
with: with:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-notify nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "${{ github.workflow }} OK ${{ github.actor }} on ${{ github.event.ref }}\n.. ${{ steps.pre_build.outputs.message }}" message: "PUSH ${{ github.workflow }} OK ${{ github.actor }} on ${{ github.event.ref }}\n.. ${{ steps.pre_build.outputs.message }}"
- name: "notify: fail" - name: "notify: fail"
uses: rectalogic/notify-irc@v1 uses: rectalogic/notify-irc@v1
if: ${{ failure() && github.repository == 'calamares/calamares' }} if: ${{ failure() && github.repository == 'calamares/calamares' }}
with: with:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-notify nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "${{ github.workflow }} FAIL ${{ github.actor }} on ${{ github.event.ref }}\n.. ${{ steps.pre_build.outputs.message }}\n.. DIFF ${{ github.event.compare }}" message: "PUSH ${{ github.workflow }} FAIL ${{ github.actor }} on ${{ github.event.ref }}\n.. ${{ steps.pre_build.outputs.message }}\n.. DIFF ${{ github.event.compare }}"

View File

@ -1,4 +1,4 @@
name: ci-opensuse-leap name: ci-opensuse
on: on:
schedule: schedule:
@ -85,14 +85,14 @@ jobs:
if: ${{ success() && github.repository == 'calamares/calamares' }} if: ${{ success() && github.repository == 'calamares/calamares' }}
with: with:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-notify nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "${{ github.workflow }} OK ${{ steps.pre_build.outputs.message }}" message: "SCHEDULED ${{ github.workflow }} OK ${{ steps.pre_build.outputs.message }}"
- name: "notify: fail" - name: "notify: fail"
uses: rectalogic/notify-irc@v1 uses: rectalogic/notify-irc@v1
if: ${{ failure() && github.repository == 'calamares/calamares' }} if: ${{ failure() && github.repository == 'calamares/calamares' }}
with: with:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-notify nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "${{ github.workflow }} FAIL ${{ steps.pre_build.outputs.message }}" message: "SCHEDULED ${{ github.workflow }} FAIL ${{ steps.pre_build.outputs.message }}"

View File

@ -13,14 +13,14 @@ jobs:
if: github.event.issue.state == 'open' if: github.event.issue.state == 'open'
with: with:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-notify nickname: cala-issues
channel: "#calamares" channel: "#calamares"
message: "[${{ github.event.issue.title }}](${{ github.event.issue.html_url }}) opened by ${{ github.actor }}" message: "OPENED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}"
- name: "notify: closed" - name: "notify: closed"
uses: rectalogic/notify-irc@v1 uses: rectalogic/notify-irc@v1
if: github.event.issue.state != 'open' if: github.event.issue.state != 'open'
with: with:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-notify nickname: cala-issues
channel: "#calamares" channel: "#calamares"
message: "[${{ github.event.issue.title }}](${{ github.event.issue.html_url }}) closed by ${{ github.actor }}" message: "CLOSED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}"