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