CI: massage message a bit and adjust naming scheme

This commit is contained in:
Adriaan de Groot 2021-02-17 10:41:55 +01:00
parent 6bf82e9c65
commit ce6fae900f
4 changed files with 8 additions and 8 deletions

View File

@ -89,7 +89,7 @@ jobs:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-ci nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "SCHEDULED ${{ github.workflow }} OK ${{ steps.pre_build.outputs.message }}" message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ 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' }}
@ -97,4 +97,4 @@ jobs:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-ci nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "SCHEDULED ${{ github.workflow }} FAIL ${{ steps.pre_build.outputs.message }}" message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"

View File

@ -88,7 +88,7 @@ jobs:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-ci nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "SCHEDULED ${{ github.workflow }} OK ${{ steps.pre_build.outputs.message }}" message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ 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' }}
@ -96,4 +96,4 @@ jobs:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-ci nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "SCHEDULED ${{ github.workflow }} FAIL ${{ steps.pre_build.outputs.message }}" message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"

View File

@ -87,7 +87,7 @@ jobs:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-ci nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "SCHEDULED ${{ github.workflow }} OK ${{ steps.pre_build.outputs.message }}" message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ 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' }}
@ -95,4 +95,4 @@ jobs:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-ci nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "SCHEDULED ${{ github.workflow }} FAIL ${{ steps.pre_build.outputs.message }}" message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"

View File

@ -84,7 +84,7 @@ jobs:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-ci nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "PUSH ${{ github.workflow }} OK ${{ github.actor }} on ${{ github.event.ref }}\n.. ${{ steps.pre_build.outputs.message }}" message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ 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' }}
@ -92,4 +92,4 @@ jobs:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-ci nickname: cala-ci
channel: "#calamares" channel: "#calamares"
message: "PUSH ${{ github.workflow }} FAIL ${{ github.actor }} on ${{ github.event.ref }}\n.. ${{ steps.pre_build.outputs.message }}\n.. DIFF ${{ github.event.compare }}" message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ github.actor }} on ${{ github.event.ref }}\n.. ${{ steps.pre_build.outputs.message }}\n.. DIFF ${{ github.event.compare }}"