CI: one more with shorter notifications
This commit is contained in:
parent
5643c5cdc7
commit
9af44a3c8d
16
.github/workflows/ci-neon.yml
vendored
16
.github/workflows/ci-neon.yml
vendored
@ -83,16 +83,24 @@ jobs:
|
|||||||
echo "$JOBS_CONTEXT"
|
echo "$JOBS_CONTEXT"
|
||||||
echo "EVENT"
|
echo "EVENT"
|
||||||
echo "$EVENT_CONTEXT"
|
echo "$EVENT_CONTEXT"
|
||||||
- name: "notify"
|
- name: "notify: ok"
|
||||||
uses: rectalogic/notify-irc@v1
|
uses: rectalogic/notify-irc@v1
|
||||||
if: always()
|
if: ${{ success() }}
|
||||||
|
with:
|
||||||
|
server: chat.freenode.net
|
||||||
|
channel: "#calamares"
|
||||||
|
nickname: gh-notify
|
||||||
|
message: "CI OK for '${{ github.event.head_commit.message }}'"
|
||||||
|
- name: "notify: fail"
|
||||||
|
uses: rectalogic/notify-irc@v1
|
||||||
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
server: chat.freenode.net
|
server: chat.freenode.net
|
||||||
channel: "#calamares"
|
channel: "#calamares"
|
||||||
nickname: gh-notify
|
nickname: gh-notify
|
||||||
message: |
|
message: |
|
||||||
${{ github.actor }} ${{ github.sha }} on ${{ github.ref }}
|
CI FAIL for '${{ github.event.head_commit.message }}'
|
||||||
result ${{ job.status }} RUN ${{ github.run_id }} ${{ github.job }}
|
.. DIFF ${{ github.event.compare }}
|
||||||
|
|
||||||
# Unused while we figure out notifications.
|
# Unused while we figure out notifications.
|
||||||
# - name: "Calamares: make"
|
# - name: "Calamares: make"
|
||||||
|
6
.github/workflows/issues.yml
vendored
6
.github/workflows/issues.yml
vendored
@ -8,8 +8,7 @@ jobs:
|
|||||||
irc:
|
irc:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: "notify: new"
|
||||||
name: notify-new
|
|
||||||
uses: rectalogic/notify-irc@v1
|
uses: rectalogic/notify-irc@v1
|
||||||
if: github.event.issue.state == "open"
|
if: github.event.issue.state == "open"
|
||||||
with:
|
with:
|
||||||
@ -17,8 +16,7 @@ jobs:
|
|||||||
channel: "#calamares"
|
channel: "#calamares"
|
||||||
nickname: gh-issues
|
nickname: gh-issues
|
||||||
message: "[${{ github.event.issue.title }}](${{ github.event.issue.url }}) opened by ${{ github.actor }}"
|
message: "[${{ github.event.issue.title }}](${{ github.event.issue.url }}) opened by ${{ github.actor }}"
|
||||||
-
|
- 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:
|
||||||
|
Loading…
Reference in New Issue
Block a user